Fix init container: use externalDatabase password instead of missing secret
The init-db-config container was referencing a non-existent secret
{namespace}-os-schedules-argo-syncer-mysql, causing CreateContainerConfigError.
Now reads password directly from .Values.externalDatabase.password.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4d71caf810
commit
4e2ee8cd83
@ -75,10 +75,7 @@ spec:
|
|||||||
echo "MySQL is fully initialized!"
|
echo "MySQL is fully initialized!"
|
||||||
env:
|
env:
|
||||||
- name: MYSQL_PASSWORD
|
- name: MYSQL_PASSWORD
|
||||||
valueFrom:
|
value: {{ .Values.externalDatabase.password | quote }}
|
||||||
secretKeyRef:
|
|
||||||
name: {{ .Release.Namespace }}-os-schedules-argo-syncer-mysql
|
|
||||||
key: mysql-password
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: db-config
|
- name: db-config
|
||||||
mountPath: /db-config
|
mountPath: /db-config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user