templates/deployment.yaml aktualisiert
This commit is contained in:
@@ -85,13 +85,17 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: LB_DB_USER_PWD
|
||||
{{- if eq .Values.mariadb.enabled true }}
|
||||
value: {{ .Values.mariadb.userDatabase.password.value }}
|
||||
{{- else }}
|
||||
{{- if .Values.externalDatabase.existingSecretConfig.passwordField }}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "librebooking.databaseSecretName" . }}
|
||||
{{- if .Values.mariadb.enabled }}
|
||||
key: mariadb-password
|
||||
{{- else }}
|
||||
key: {{ .Values.externalDatabase.existingSecretConfig.passwordField }}
|
||||
{{- else}}
|
||||
value: {{ .Values.externalDatabase.password }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: LB_DB_NAME
|
||||
{{- if eq .Values.mariadb.enabled true }}
|
||||
|
||||
Reference in New Issue
Block a user