diff --git a/deploy/kubernetes/dolphinscheduler/Chart.yaml b/deploy/kubernetes/dolphinscheduler/Chart.yaml index 51c036a1497e2b4910985d18f4c20846df3cc97e..6ad2f989de6eee3b6f19ba69b5b3949dd2219488 100644 --- a/deploy/kubernetes/dolphinscheduler/Chart.yaml +++ b/deploy/kubernetes/dolphinscheduler/Chart.yaml @@ -43,10 +43,16 @@ appVersion: dev-SNAPSHOT dependencies: - name: postgresql - version: 11.6.6 - repository: https://charts.bitnami.com/bitnami + version: 10.3.18 + # Due to a change in the Bitnami repo, https://charts.bitnami.com/bitnami was truncated only + # containing entries for the latest 6 months (from January 2022 on). + # This URL: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami + # contains the full 'index.yaml'. + # See detail here: https://github.com/bitnami/charts/issues/10833 + repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami condition: postgresql.enabled - name: zookeeper - version: 9.2.5 - repository: https://charts.bitnami.com/bitnami + version: 6.5.3 + # Same as above. + repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami condition: zookeeper.enabled diff --git a/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl b/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl index 3d06502ad169e0679cf0e4558105cead44e9fa38..8507f4669c9fecdd72dc25fc215ad023b33a0839 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: postgres-password + key: postgresql-password {{- else }} name: {{ include "dolphinscheduler.fullname" . }}-externaldb key: database-password