fix: update white-listing annotation

This commit is contained in:
2025-06-22 08:33:29 +02:00
parent 561c620f98
commit 383477822a
141 changed files with 1854 additions and 28 deletions
@@ -0,0 +1,16 @@
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-kube-api
spec:
description: Allow access to the Kube API server
egress:
- toEntities:
- kube-apiserver
toPorts:
- ports:
- port: "6443"
protocol: TCP
endpointSelector:
matchLabels:
app: minio
@@ -0,0 +1,17 @@
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-minio-operator
spec:
description: Allow access to the Kube API server
endpointSelector:
matchLabels:
app: minio
ingress:
- fromEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: minio-operator
toPorts:
- ports:
- port: "9000"
protocol: TCP
@@ -0,0 +1,16 @@
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-nodeport-ingress
spec:
description: Allow access to the Kube API server
endpointSelector:
matchLabels:
app: minio
ingress:
- fromEntities:
- world
toPorts:
- ports:
- port: "9000"
protocol: TCP
@@ -0,0 +1,16 @@
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-kube-api
namespace: minio-operator
spec:
description: Allow access to the Kube API server
egress:
- toEntities:
- kube-apiserver
toPorts:
- ports:
- port: "6443"
protocol: TCP
endpointSelector:
matchLabels: {}