move cilium to infrastructure
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: egress-kube-dns
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchExpressions:
|
||||
- key: rpi5.cluster.policy/egress-kube-dns
|
||||
operator: NotIn
|
||||
values:
|
||||
- "false"
|
||||
egress:
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: kube-system
|
||||
k8s-app: kube-dns
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
Reference in New Issue
Block a user