{{- if .Values.clusterConfig.cilium.enabled }} apiVersion: cilium.io/v2 kind: CiliumClusterwideNetworkPolicy metadata: name: allow-itpartner-mail-egress spec: endpointSelector: {} egress: - toFQDNs: - matchName: mx.itpartner.no toPorts: - ports: - port: "587" protocol: TCP - port: "465" protocol: TCP {{- end }}