fix(spegel): Correct policies
This commit is contained in:
@@ -3,12 +3,12 @@ apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: slinky
|
||||
namespace: spegel
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: slurm-operator
|
||||
app.kubernetes.io/instance: spegel
|
||||
{{- end}}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-to-slurm-operator
|
||||
namespace: slinky
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: slurm-operator
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- host
|
||||
{{- end}}
|
||||
@@ -3,11 +3,11 @@ apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: slinky
|
||||
namespace: spegel
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: slurm-operator
|
||||
app.kubernetes.io/instance: spegel
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-webhooks
|
||||
namespace: slinky
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- kube-apiserver
|
||||
- remote-node
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "443"
|
||||
protocol: TCP
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
{{- end}}
|
||||
Reference in New Issue
Block a user