diff --git a/fleetshard/pkg/central/charts/data/tenant-resources/templates/network-policy-default.yaml b/fleetshard/pkg/central/charts/data/tenant-resources/templates/network-policy-default.yaml index 363e123edd..2bfee5abb4 100644 --- a/fleetshard/pkg/central/charts/data/tenant-resources/templates/network-policy-default.yaml +++ b/fleetshard/pkg/central/charts/data/tenant-resources/templates/network-policy-default.yaml @@ -22,14 +22,17 @@ spec: - Egress ingress: [] egress: - - to: - - namespaceSelector: {} - podSelector: - matchLabels: - k8s-app: kube-dns - ports: - - port: 53 - protocol: UDP - - port: 53 - protocol: TCP + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: openshift-dns + ports: + - port: 53 + protocol: TCP + - port: 53 + protocol: UDP + - port: 5353 + protocol: TCP + - port: 5353 + protocol: UDP {{ end }}