From 5101272b1940f2ffda9f9e6f741f7518a947c3b0 Mon Sep 17 00:00:00 2001 From: eminaktas Date: Thu, 28 Jul 2022 15:02:50 +0300 Subject: [PATCH] fix(connectivity): Add node-local-dns entitiy match for local ip usage case Signed-off-by: eminaktas --- connectivity/manifests/client-egress-only-dns.yaml | 6 ++++++ connectivity/manifests/client-egress-to-echo.yaml | 6 ++++++ connectivity/manifests/client-egress-to-entities-world.yaml | 6 ++++++ .../manifests/client-egress-to-fqdns-one-one-one-one.yaml | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/connectivity/manifests/client-egress-only-dns.yaml b/connectivity/manifests/client-egress-only-dns.yaml index 471ca49a78..a81485e818 100644 --- a/connectivity/manifests/client-egress-only-dns.yaml +++ b/connectivity/manifests/client-egress-only-dns.yaml @@ -22,3 +22,9 @@ spec: - matchLabels: k8s:io.kubernetes.pod.namespace: kube-system k8s:k8s-app: coredns + - toPorts: + - ports: + - port: "53" + protocol: UDP + toEntities: + - world diff --git a/connectivity/manifests/client-egress-to-echo.yaml b/connectivity/manifests/client-egress-to-echo.yaml index 8f3394c5a3..74706392d3 100644 --- a/connectivity/manifests/client-egress-to-echo.yaml +++ b/connectivity/manifests/client-egress-to-echo.yaml @@ -27,3 +27,9 @@ spec: - matchLabels: k8s:io.kubernetes.pod.namespace: kube-system k8s:k8s-app: coredns + - toPorts: + - ports: + - port: "53" + protocol: UDP + toEntities: + - world diff --git a/connectivity/manifests/client-egress-to-entities-world.yaml b/connectivity/manifests/client-egress-to-entities-world.yaml index 01c2f0e09a..3456b68a6b 100644 --- a/connectivity/manifests/client-egress-to-entities-world.yaml +++ b/connectivity/manifests/client-egress-to-entities-world.yaml @@ -25,3 +25,9 @@ spec: - ports: - port: "53" protocol: ANY + - toPorts: + - ports: + - port: "53" + protocol: UDP + toEntities: + - world diff --git a/connectivity/manifests/client-egress-to-fqdns-one-one-one-one.yaml b/connectivity/manifests/client-egress-to-fqdns-one-one-one-one.yaml index a857d3e6aa..e3fd081903 100644 --- a/connectivity/manifests/client-egress-to-fqdns-one-one-one-one.yaml +++ b/connectivity/manifests/client-egress-to-fqdns-one-one-one-one.yaml @@ -32,3 +32,9 @@ spec: - matchLabels: k8s:io.kubernetes.pod.namespace: kube-system k8s:k8s-app: coredns + - toPorts: + - ports: + - port: "53" + protocol: UDP + toEntities: + - world