templates/_helpers.tpl aktualisiert
This commit is contained in:
@@ -70,8 +70,8 @@ Return the MariaDB Secret Name
|
||||
*/}}
|
||||
{{- define "librebooking.databaseSecretName" -}}
|
||||
{{- if .Values.mariadb.enabled }}
|
||||
{{- if .Values.mariadb.auth.existingSecret -}}
|
||||
{{- printf "%s" .Values.mariadb.auth.existingSecret -}}
|
||||
{{- if .Values.mariadb.userDatabase.existingSecret -}}
|
||||
{{- printf "%s" .Values.mariadb.userDatabase.existingSecret -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s" (include "librebooking.mariadb.fullname" .) -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user