From c4fccb833d29e90c8c3a296903f40e1fd4d166e6 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 20 Jul 2023 15:09:49 +0200
Subject: [PATCH] OZG-3880 snake case to camel case

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

diff --git a/src/main/helm/templates/network_policy.yaml b/src/main/helm/templates/network_policy.yaml
index e305802a6..910ee9e0e 100644
--- a/src/main/helm/templates/network_policy.yaml
+++ b/src/main/helm/templates/network_policy.yaml
@@ -22,7 +22,7 @@
 # unter der Lizenz sind dem Lizenztext zu entnehmen.
 #
 
-{{- if not (.Values.network_policy).disabled }} 
+{{- if not (.Values.networkPolicy).disabled }} 
 apiVersion: networking.k8s.io/v1
 kind: NetworkPolicy
 metadata:
diff --git a/src/test/helm/network_policy_test.yaml b/src/test/helm/network_policy_test.yaml
index 4f30d3020..9d032e7ba 100644
--- a/src/test/helm/network_policy_test.yaml
+++ b/src/test/helm/network_policy_test.yaml
@@ -80,7 +80,7 @@ tests:
 
   - it: test network policy disabled
     set:
-      network_policy:
+      networkPolicy:
         disabled: true
     asserts:
       - hasDocuments:
@@ -88,7 +88,7 @@ tests:
 
   - it: test network policy unset should be disabled
     set:
-      network_policy:
+      networkPolicy:
         disabled: false
     asserts:
       - hasDocuments:
-- 
GitLab