Skip to content
Permalink
Browse files
Fix Helm chart to support clustered Zookeepers (#3611)
  • Loading branch information
nicknezis committed Sep 8, 2020
1 parent f3ba285 commit 11d6332134e86974dd7a1423bb93d7ba232e0310
Showing 1 changed file with 4 additions and 0 deletions.
@@ -118,6 +118,10 @@ spec:
value: "{{ .Values.zookeeper.serverPort }}"
- name: ZK_ELECTION_PORT
value: "{{ .Values.zookeeper.leaderElectionPort }}"
- name: ZOOKEEPER_SERVERS
{{- $replicaCount := int .Values.zkReplicas }}
{{- $fullName := printf "%s-%s" .Release.Name "zookeeper" }}
value: "{{ range $i, $e := until $replicaCount }}{{ fullName }}-{{ $e }},{{ end }}"
command:
- sh
- -c

0 comments on commit 11d6332

Please sign in to comment.