diff --git a/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl b/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl index 8507f4669c..3d06502ad1 100644 --- a/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl +++ b/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl @@ -143,7 +143,7 @@ Create a database environment variables. secretKeyRef: {{- if .Values.postgresql.enabled }} name: {{ template "dolphinscheduler.postgresql.fullname" . }} - key: postgresql-password + key: postgres-password {{- else }} name: {{ include "dolphinscheduler.fullname" . }}-externaldb key: database-password