[bitnami/zookeeper] fix: 🐛 Add allowExternalEgress to avoid breaking istio (#22979)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-02-01 11:27:48 +01:00
committed by GitHub
parent 2e00fb10b1
commit f8b6366f9f
4 changed files with 10 additions and 1 deletions

View File

@@ -20,6 +20,10 @@ spec:
policyTypes:
- Ingress
- Egress
{{- if .Values.networkPolicy.allowExternalEgress }}
egress:
- {}
{{- else }}
egress:
# Allow dns resolution
- ports:
@@ -37,6 +41,7 @@ spec:
{{- if .Values.networkPolicy.extraEgress }}
{{- include "common.tplvalues.render" ( dict "value" .Values.rts.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
ingress:
# Allow inbound connections to ZooKeeper
- ports: