diff --git a/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl b/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl index c2684e029a..8507f4669c 100644 --- a/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl +++ b/deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl @@ -112,7 +112,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this Create a default fully qualified zookkeeper quorum. */}} {{- define "dolphinscheduler.zookeeper.quorum" -}} -{{- $port := default "2181" (.Values.zookeeper.service.port | toString) -}} +{{- $port := default "2181" .Values.zookeeper.service.port | toString -}} {{- printf "%s:%s" (include "dolphinscheduler.zookeeper.fullname" .) $port -}} {{- end -}} diff --git a/deploy/kubernetes/dolphinscheduler/values.yaml b/deploy/kubernetes/dolphinscheduler/values.yaml index 93685fb454..2e9432a0ee 100644 --- a/deploy/kubernetes/dolphinscheduler/values.yaml +++ b/deploy/kubernetes/dolphinscheduler/values.yaml @@ -52,6 +52,8 @@ externalDatabase: ## If not exists external registry, the zookeeper registry will be used by default. zookeeper: enabled: true + service: + port: 2181 fourlwCommandsWhitelist: "srvr,ruok,wchs,cons" persistence: enabled: false