fix(spegel): CNP
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user