diff --git a/charts/keycloakx/templates/_helpers.tpl b/charts/keycloakx/templates/_helpers.tpl index a2e44eca..1b89bcad 100644 --- a/charts/keycloakx/templates/_helpers.tpl +++ b/charts/keycloakx/templates/_helpers.tpl @@ -70,9 +70,7 @@ Create the service DNS name. - name: KC_DB_PASSWORD valueFrom: secretKeyRef: - {{- if .Values.database.existingSecret }} name: {{ .Values.database.existingSecret | default (printf "%s-database" (include "keycloak.fullname" . ))}} - {{- end }} key: password {{- end }} {{- end -}} \ No newline at end of file