[Fix-10400]Fix K8s deployment bitnami version error (#10567)

* Fix k8s bitnami bug

* add comments

(cherry picked from commit 0b377f72b1)
This commit is contained in:
旺阳 2022-06-24 15:29:26 +08:00 committed by devosend
parent d68dcda2bb
commit 67bc8a160c
2 changed files with 11 additions and 5 deletions

View File

@ -43,10 +43,16 @@ appVersion: 3.0.0-beta-2
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

View File

@ -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