fix(spegel): CNP

This commit is contained in:
2025-11-11 11:14:15 +01:00
parent 091b8d119c
commit 9181781f55
2 changed files with 35 additions and 0 deletions
@@ -0,0 +1,18 @@
{{- if .Values.clusterConfig.cilium.enabled }}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-remote-node
namespace: spegel
spec:
endpointSelector:
matchLabels: {}
ingress:
- fromEntities:
- kube-apiserver
- remote-node
toPorts:
- ports:
- port: "5000"
protocol: TCP
{{- end}}
@@ -0,0 +1,17 @@
{{- if .Values.clusterConfig.cilium.enabled }}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-world-dns
namespace: spegel
spec:
description: Allow DNS world
egress:
- toPorts:
- ports:
- port: "5001"
protocol: TCP
endpointSelector:
matchLabels:
app.kubernetes.io/name: spegel
{{- end }}