adding namespace to network policies

This commit is contained in:
2024-06-11 01:21:50 +10:00
parent 7bef9d1419
commit c2e466f43f
10 changed files with 11 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-kube-dns
namespace: kube-system
spec:
endpointSelector:
matchExpressions:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-kubeapi
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-namespace
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-nodes
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-world-with-lan
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-world
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: ingress-namespace
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: ingress-ingress
namespace: ingress-nginx
spec:
endpointSelector:
matchLabels:
@@ -35,6 +36,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: egress-ingress
namespace: ingress-nginx
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: ingress-nodes
namespace: kube-system
spec:
endpointSelector:
matchLabels:

View File

@@ -2,6 +2,7 @@ apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: ingress-world
namespace: kube-system
spec:
endpointSelector:
matchLabels: