adding an environment variable to make zookeeper listen on all ips (with default value false)

This commit is contained in:
Hisham Ismail
2020-01-30 11:26:17 +00:00
parent a50dc8e5b6
commit a61d41f678
2 changed files with 5 additions and 0 deletions
@@ -96,6 +96,8 @@ spec:
value: {{ .Values.maxClientCnxns | quote }}
- name: ZOO_4LW_COMMANDS_WHITELIST
value: {{ .Values.fourlwCommandsWhitelist | quote }}
- name: ZOO_LISTEN_ALLIPS_ENABLED
value: {{ ternary "yes" "no" .Values.listenOnAllIPs | quote }}
- name: ZOO_SERVERS
{{- $replicaCount := int .Values.replicaCount }}
{{- $followerPort := int .Values.service.followerPort }}
+3
View File
@@ -105,6 +105,9 @@ maxClientCnxns: 60
##
fourlwCommandsWhitelist: srvr, mntr
## Allow zookeeper to listen for peers on all IPs
##
listenOnAllIPs: true
## Allow to accept connections from unauthenticated users
##
allowAnonymousLogin: true