Revert "remove network policies for now"

This reverts commit 665de9090a.
This commit is contained in:
2024-06-09 14:19:45 +10:00
parent e94c276611
commit f3e452ab15
13 changed files with 241 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: local-path-provisioner
namespace: kube-system
spec:
endpointSelector:
matchLabels:
app: local-path-provisioner
egress:
- toEntities:
- host
- remote-node
toPorts:
- ports:
- port: "6443"