{{- if .Values.clusterConfig.cilium.enabled }} apiVersion: cilium.io/v2 kind: CiliumNetworkPolicy metadata: name: allow-api-server namespace: cilium-spire spec: egress: - toEntities: - kube-apiserver toPorts: - ports: - port: "6443" protocol: TCP endpointSelector: matchLabels: {} {{- end }}