{{- if .Values.networkPolicies.enabled}}apiVersion:networking.k8s.io/v1kind:NetworkPolicymetadata:name:egress-virtual-servicesnamespace:"{{.Release.Namespace}}"spec:# Since we don't know what apps may have VS and what ports they are on, allow to all namespaces, any portsegress:-to:-namespaceSelector:{}podSelector:matchLabels:istio:ingressgatewaypolicyTypes:-Egress{{- end}}