fix: move network policies to where they belong
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
apiVersion: "cilium.io/v2"
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-port-9070
|
||||
namespace: csi-addons-system
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: csi-addons
|
||||
egress:
|
||||
- toEntities:
|
||||
- host
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "9070"
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: addons-to-remote-node
|
||||
namespace: csi-addons-system
|
||||
spec:
|
||||
description: remote node
|
||||
egress:
|
||||
- toEntities:
|
||||
- remote-node
|
||||
endpointSelector: {}
|
||||
Reference in New Issue
Block a user