templates/_helpers.tpl aktualisiert

This commit is contained in:
2025-11-06 17:25:40 +00:00
parent d76c093ae5
commit 16556cdc0b

View File

@@ -70,8 +70,8 @@ Return the MariaDB Secret Name
*/}} */}}
{{- define "librebooking.databaseSecretName" -}} {{- define "librebooking.databaseSecretName" -}}
{{- if .Values.mariadb.enabled }} {{- if .Values.mariadb.enabled }}
{{- if .Values.mariadb.auth.existingSecret -}} {{- if .Values.mariadb.userDatabase.existingSecret -}}
{{- printf "%s" .Values.mariadb.auth.existingSecret -}} {{- printf "%s" .Values.mariadb.userDatabase.existingSecret -}}
{{- else -}} {{- else -}}
{{- printf "%s" (include "librebooking.mariadb.fullname" .) -}} {{- printf "%s" (include "librebooking.mariadb.fullname" .) -}}
{{- end -}} {{- end -}}