ctrl k
  • mysql/Chart.yaml
    ■ ■ ■ ■
    skipped 14 lines
    15 15  # This is the chart version. This version number should be incremented each time you make changes
    16 16  # to the chart and its templates, including the app version.
    17 17  # Versions are expected to follow Semantic Versioning (https://semver.org/)
    18  -version: 0.1.5
     18 +version: 0.1.6
    19 19   
    20 20  # This is the version number of the application being deployed. This version number should be
    21 21  # incremented each time you make changes to the application. Versions are not expected to
    skipped 4 lines
  • mysql/templates/deployment.yaml
    ■ ■ ■ ■ ■ ■
    skipped 58 lines
    59 59   volumeMounts:
    60 60   - name: mysql
    61 61   mountPath: /var/lib/mysql
     62 + {{- if .Values.configuration }}
     63 + - name: config
     64 + mountPath: /etc/mysql/conf.d
     65 + {{- end }}
    62 66  # readinessProbe:
    63 67  # exec:
    64 68  # command:
    skipped 133 lines
    198 202   {{- else }}
    199 203   {}
    200 204   {{- end }}
     205 + {{- end }}
     206 + {{- if .Values.configuration }}
     207 + - name: config
     208 + configMap:
     209 + name: {{ include "mysql.fullname" . }}
     210 + items:
     211 + - key: 'my.cnf'
     212 + path: 'my.cnf'
    201 213   {{- end }}
    202 214   {{- if .Values.backup.persistentVolume.enabled }}
    203 215   - name: mysql-backup
    skipped 21 lines
Please wait...
Page is in error, reload to recover