Browse Source

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

* Fix k8s bitnami bug

* add comments

(cherry picked from commit 0b377f72b1)
3.0.0/version-upgrade
旺阳 2 years ago committed by devosend
parent
commit
67bc8a160c
  1. 14
      deploy/kubernetes/dolphinscheduler/Chart.yaml
  2. 2
      deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl

14
deploy/kubernetes/dolphinscheduler/Chart.yaml

@ -43,10 +43,16 @@ appVersion: 3.0.0-beta-2
dependencies: dependencies:
- name: postgresql - name: postgresql
version: 11.6.6 version: 10.3.18
repository: https://charts.bitnami.com/bitnami # 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 condition: postgresql.enabled
- name: zookeeper - name: zookeeper
version: 9.2.5 version: 6.5.3
repository: https://charts.bitnami.com/bitnami # Same as above.
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
condition: zookeeper.enabled condition: zookeeper.enabled

2
deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl

@ -143,7 +143,7 @@ Create a database environment variables.
secretKeyRef: secretKeyRef:
{{- if .Values.postgresql.enabled }} {{- if .Values.postgresql.enabled }}
name: {{ template "dolphinscheduler.postgresql.fullname" . }} name: {{ template "dolphinscheduler.postgresql.fullname" . }}
key: postgres-password key: postgresql-password
{{- else }} {{- else }}
name: {{ include "dolphinscheduler.fullname" . }}-externaldb name: {{ include "dolphinscheduler.fullname" . }}-externaldb
key: database-password key: database-password

Loading…
Cancel
Save