We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc96fa2 commit 4931049Copy full SHA for 4931049
deploy/charts/mysql-operator/templates/statefulset.yaml
@@ -93,8 +93,6 @@ spec:
93
secretRef:
94
name: {{ template "mysql-operator.orc-secret-name" . }}
95
volumeMounts:
96
- - name: data
97
- mountPath: /var/lib/orchestrator/
98
- name: config
99
mountPath: /usr/local/share/orchestrator/templates/
100
livenessProbe:
@@ -120,6 +118,13 @@ spec:
120
118
- name: data
121
119
emptyDir: {}
122
{{- end }}
+ initContainers:
+ - name: init-mount
123
+ image: busybox:1.34.0
124
+ command: ['sh', '-c', "chown -R 777:777 /var/lib/orchestrator"]
125
+ volumeMounts:
126
+ - name: data
127
+ mountPath: /var/lib/orchestrator/
128
129
# security context to mount corectly the volume for orc
130
securityContext:
0 commit comments