fix: make cilium s3 policies global

This commit is contained in:
2025-05-05 16:06:51 +02:00
parent 46aff6f91e
commit 04f2db17b7
186 changed files with 25 additions and 63 deletions
@@ -0,0 +1,20 @@
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-s3-traffic
spec:
description: Policy for egress for CNPG Backups.
egress:
- toFQDNs:
{{- range .Values.s3.hosts }}
- matchName: {{ . | quote }}
{{- end }}
{{- range .Values.s3.patterns }}
- matchPattern: {{ . | quote }}
{{- end }}
- toCIDR:
{{- range .Values.s3.cidr }}
- {{ . | quote }}
{{- end }}
endpointSelector:
matchLabels: {}

Some files were not shown because too many files have changed in this diff Show More