19 lines
396 B
YAML
19 lines
396 B
YAML
{{- if .Values.clusterConfig.cilium.enabled }}
|
|
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-api-server
|
|
namespace: slinky
|
|
spec:
|
|
egress:
|
|
- toEntities:
|
|
- kube-apiserver
|
|
toPorts:
|
|
- ports:
|
|
- port: "6443"
|
|
protocol: TCP
|
|
endpointSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: slurm-operator
|
|
{{- end }}
|