mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-23 03:56:24 +10:00
adding an environment variable to make zookeeper listen on all ips (with default value false)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user