From 4d2fcd8975f403cf3f3bad8bf9c7264dd9b66159 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 16 Jan 2024 11:08:17 +0100
Subject: [PATCH] OZG-3380 component label renaming

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

diff --git a/src/main/helm/templates/network_policy.yaml b/src/main/helm/templates/network_policy.yaml
index 3c45efe0a..4e9d9c7de 100644
--- a/src/main/helm/templates/network_policy.yaml
+++ b/src/main/helm/templates/network_policy.yaml
@@ -63,7 +63,7 @@ spec:
   - to:
     - podSelector:
         matchLabels:
-          component: ozg-mongodb
+          component: ozgcloud-mongodb
     ports:
       - port: 27017
         protocol: TCP
diff --git a/src/test/helm/network_policy_test.yaml b/src/test/helm/network_policy_test.yaml
index 9ec94b19f..faa110a6e 100644
--- a/src/test/helm/network_policy_test.yaml
+++ b/src/test/helm/network_policy_test.yaml
@@ -91,7 +91,7 @@ tests:
             - to:
               - podSelector:
                   matchLabels:
-                    component: ozg-mongodb
+                    component: ozgcloud--mongodb
               ports:
                 - port: 27017
                   protocol: TCP
-- 
GitLab