wip: unify sys and apps

This commit is contained in:
2025-05-06 16:00:57 +02:00
parent 4590ddc30a
commit 7de100a4d4
204 changed files with 3 additions and 0 deletions
@@ -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: {}
@@ -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
@@ -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
@@ -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