Browse Source

[Bug] [Helm] No DB Nodes Exist (#15970)

3.2.2-release-bak
Gallardot 7 months ago committed by GitHub
parent
commit
ace20f96c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl

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

@ -146,6 +146,10 @@ Create a database environment variables.
{{- else }}
value: {{ .Values.externalDatabase.type | quote }}
{{- end }}
{{- if or .Values.mysql.enabled (eq .Values.externalDatabase.type "mysql") }}
- name: SPRING_PROFILES_ACTIVE
value: mysql
{{- end }}
- name: SPRING_DATASOURCE_URL
{{- if .Values.postgresql.enabled }}
value: jdbc:postgresql://{{ template "dolphinscheduler.postgresql.fullname" . }}:5432/{{ .Values.postgresql.postgresqlDatabase }}?{{ .Values.postgresql.params }}

Loading…
Cancel
Save