From 8e5c329233bf54756d954440a7c79c85f3f8cc11 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 9 Jan 2024 09:21:58 +0100
Subject: [PATCH] OZG-3880 network- policy add dns port 5353 for OKD

---
 src/main/helm/templates/network_policy.yaml | 4 ++++
 src/test/helm/network_policy_test.yaml      | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/src/main/helm/templates/network_policy.yaml b/src/main/helm/templates/network_policy.yaml
index 457937b8dc..899c5330fa 100644
--- a/src/main/helm/templates/network_policy.yaml
+++ b/src/main/helm/templates/network_policy.yaml
@@ -39,4 +39,8 @@ spec:
         protocol: UDP
       - port: 53
         protocol: TCP
+      - port: 5353
+        protocol: UDP
+      - port: 5353
+        protocol: TCP
 {{- end }}
\ No newline at end of file
diff --git a/src/test/helm/network_policy_test.yaml b/src/test/helm/network_policy_test.yaml
index a9e15a70d9..9bf96f7895 100644
--- a/src/test/helm/network_policy_test.yaml
+++ b/src/test/helm/network_policy_test.yaml
@@ -82,6 +82,10 @@ tests:
                   protocol: UDP
                 - port: 53
                   protocol: TCP
+                - port: 5353
+                  protocol: UDP
+                - port: 5353
+                  protocol: TCP
   - it: add ingress rule by values
     set:
       networkPolicy:
-- 
GitLab