wip: unify sys and apps
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-traffic
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Host Traffic
|
||||
egress:
|
||||
- toEntities:
|
||||
- remote-node
|
||||
- host
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-agent-core
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Remote to Agent Core
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: agent-core
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-etcd
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Remote to Etcd
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: etcd
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-maya
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Remote to Mayastor
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: api-rest
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
Reference in New Issue
Block a user