wip: structural refactorizations

This commit is contained in:
2025-05-05 07:57:04 +02:00
parent 3ee4369cc1
commit 46aff6f91e
184 changed files with 75 additions and 59 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