explicitly allow for metallb communication

This commit is contained in:
Kjeld Schouten-Lebbing
2022-12-29 21:53:08 +01:00
parent 13d330edac
commit de06eadcb6

View File

@@ -13,13 +13,14 @@ metadata:
{{- end }}
spec:
policyTypes: ["Ingress"]
{{- if .Values.allowedCon }}
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: metallb-system
{{- range .Values.allowedCon }}
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: {{ . }}
{{- end -}}
{{- end }}
{{- end -}}