diff --git a/bitnami/zookeeper/templates/networkpolicy.yaml b/bitnami/zookeeper/templates/networkpolicy.yaml index fd623b716..a9692dbac 100644 --- a/bitnami/zookeeper/templates/networkpolicy.yaml +++ b/bitnami/zookeeper/templates/networkpolicy.yaml @@ -24,10 +24,14 @@ spec: matchLabels: {} {{- end }} # Internal ports - - ports: + - ports: &intranodes_ports - port: {{ .Values.service.followerPort }} - port: {{ .Values.service.electionPort }} from: - podSelector: matchLabels: {{- include "zookeeper.matchLabels" . | nindent 14 }} + egress: + - ports: *intranodes_ports + # Allow outbound connections from zookeeper nodes + {{- end }} diff --git a/bitnami/zookeeper/values-production.yaml b/bitnami/zookeeper/values-production.yaml index c2aeb4ffd..5bfd2efae 100644 --- a/bitnami/zookeeper/values-production.yaml +++ b/bitnami/zookeeper/values-production.yaml @@ -14,7 +14,7 @@ image: registry: docker.io repository: bitnami/zookeeper - tag: 3.6.1-debian-10-r20 + tag: 3.6.1-debian-10-r24 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' diff --git a/bitnami/zookeeper/values.yaml b/bitnami/zookeeper/values.yaml index 3d4af443a..e70499117 100644 --- a/bitnami/zookeeper/values.yaml +++ b/bitnami/zookeeper/values.yaml @@ -14,7 +14,7 @@ image: registry: docker.io repository: bitnami/zookeeper - tag: 3.6.1-debian-10-r20 + tag: 3.6.1-debian-10-r24 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'