Tigase Forge
Dashboards
Projects
Global Views
Pull Requests
Issues
Builds
Packages
Code Search
Text
Files
Symbols
helm-charts
Code
Files
Commits
Branches
Tags
Code Comments
Code Compare
Pull Requests
Issues
List
Boards
Iterations
Builds
Packages
Statistics
Code
Pull Request
Issue
Build
Child Projects
Projects
tigase
helm-charts
Commits
2ada8983
ctrl
k
Sign In
Fixed issue with providing custom MySQL configuration
Browse Code
Andrzej Wójcik (Tigase)
committed
1 year ago
2ada8983
1 parent
f322ce2e
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
All occurrences
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
All occurrences
mysql
Chart.yaml
templates/deployment.yaml
Please wait...
Page is in error, reload to recover