mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-04 23:21:24 -03:00
explicitly allow for metallb communication
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user