templates/deployment.yaml aktualisiert
This commit is contained in:
@@ -73,7 +73,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
- name: LB_DB_USER
|
- name: LB_DB_USER
|
||||||
{{- if eq .Values.mariadb.enabled true }}
|
{{- if eq .Values.mariadb.enabled true }}
|
||||||
value: {{ .Values.mariadb.userDatabase.user.value }}
|
value: {{ .Values.mariadb.auth.username }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if .Values.externalDatabase.existingSecretConfig.usernameField }}
|
{{- if .Values.externalDatabase.existingSecretConfig.usernameField }}
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -85,21 +85,17 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: LB_DB_USER_PWD
|
- name: LB_DB_USER_PWD
|
||||||
{{- if eq .Values.mariadb.enabled true }}
|
|
||||||
value: {{ .Values.mariadb.userDatabase.password.value }}
|
|
||||||
{{- else }}
|
|
||||||
{{- if .Values.externalDatabase.existingSecretConfig.passwordField }}
|
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "librebooking.databaseSecretName" . }}
|
name: {{ include "librebooking.databaseSecretName" . }}
|
||||||
key: {{ .Values.externalDatabase.existingSecretConfig.passwordField }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
key: mariadb-password
|
||||||
{{- else }}
|
{{- else }}
|
||||||
value: {{ .Values.externalDatabase.password }}
|
key: {{ .Values.externalDatabase.existingSecretConfig.passwordField }}
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: LB_DB_NAME
|
- name: LB_DB_NAME
|
||||||
{{- if eq .Values.mariadb.enabled true }}
|
{{- if eq .Values.mariadb.enabled true }}
|
||||||
value: {{ .Values.mariadb.userDatabase.name.value }}
|
value: {{ .Values.mariadb.auth.database }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if .Values.externalDatabase.existingSecretConfig.databaseField }}
|
{{- if .Values.externalDatabase.existingSecretConfig.databaseField }}
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -114,6 +110,8 @@ spec:
|
|||||||
value: '{{ .Values.librebooking.installPW }}'
|
value: '{{ .Values.librebooking.installPW }}'
|
||||||
- name: LB_LOG_LEVEL
|
- name: LB_LOG_LEVEL
|
||||||
value: '{{ .Values.librebooking.loglevel }}'
|
value: '{{ .Values.librebooking.loglevel }}'
|
||||||
|
- name: LB_LOG_SQL
|
||||||
|
value: '{{ .Values.mariadb.loglevel }}'
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: '{{ .Values.librebooking.TZ }}'
|
value: '{{ .Values.librebooking.TZ }}'
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user