Skip to content
Snippets Groups Projects
Commit 10125df5 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3880 snake case to camel case

parent 80c9064f
Branches
Tags
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# unter der Lizenz sind dem Lizenztext zu entnehmen. # unter der Lizenz sind dem Lizenztext zu entnehmen.
# #
{{- if not (.Values.network_policy).disabled }} {{- if not (.Values.networkPolicy).disabled }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
- podSelector: - podSelector:
matchLabels: matchLabels:
ozg-component: eingangsadapter ozg-component: eingangsadapter
{{- with (.Values.network_policy).additional_ingress_config }} {{- with (.Values.networkPolicy).additionalIngressConfig }}
- from: - from:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
......
...@@ -98,8 +98,8 @@ tests: ...@@ -98,8 +98,8 @@ tests:
- it: add ingress rule by values - it: add ingress rule by values
set: set:
network_policy: networkPolicy:
additional_ingress_config: additionalIngressConfig:
- podSelector: - podSelector:
matchLabels: matchLabels:
component: client2 component: client2
...@@ -123,7 +123,7 @@ tests: ...@@ -123,7 +123,7 @@ tests:
- it: test network policy disabled - it: test network policy disabled
set: set:
network_policy: networkPolicy:
disabled: true disabled: true
asserts: asserts:
- hasDocuments: - hasDocuments:
...@@ -131,7 +131,7 @@ tests: ...@@ -131,7 +131,7 @@ tests:
- it: test network policy unset should be disabled - it: test network policy unset should be disabled
set: set:
network_policy: networkPolicy:
disabled: false disabled: false
asserts: asserts:
- hasDocuments: - hasDocuments:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment