helm: Stop helm chart from failing if zkHosts is not set (#13746)

This commit is contained in:
Jason Witkowski 2023-02-08 00:13:35 -05:00 committed by GitHub
parent f684df4c22
commit 5934d5fffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@ dependencies:
version: 8.6.4
repository: https://charts.helm.sh/stable
condition: postgresql.enabled
version: 0.3.2
version: 0.3.3
home: https://druid.apache.org/
icon: https://druid.apache.org/img/favicon.png
sources:

View File

@ -31,7 +31,7 @@ data:
{{ toYaml .Values.configVars | indent 2 }}
{{- if .Values.zookeeper.enabled }}
druid_zk_service_host: {{ .Release.Name }}-zookeeper-headless:2181
{{- else }}
{{- else if .Values.zkHosts }}
druid_zk_service_host: {{ .Values.zkHosts }}
{{- end }}
{{- if .Values.mysql.enabled }}

View File

@ -376,6 +376,7 @@ router:
# Zookeeper:
# ------------------------------------------------------------------------------
# If using a zookeeper installed outside of this chart you must uncomment and set this line
# zkHosts: druid-zookeeper-headless:2181
zookeeper: