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
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......@@ -45,7 +45,7 @@ spec:
- podSelector:
matchLabels:
ozg-component: eingangsadapter
{{- with (.Values.network_policy).additional_ingress_config }}
{{- with (.Values.networkPolicy).additionalIngressConfig }}
- from:
{{ toYaml . | indent 8 }}
{{- end }}
......
......@@ -98,8 +98,8 @@ tests:
- it: add ingress rule by values
set:
network_policy:
additional_ingress_config:
networkPolicy:
additionalIngressConfig:
- podSelector:
matchLabels:
component: client2
......@@ -123,7 +123,7 @@ tests:
- it: test network policy disabled
set:
network_policy:
networkPolicy:
disabled: true
asserts:
- hasDocuments:
......@@ -131,7 +131,7 @@ tests:
- it: test network policy unset should be disabled
set:
network_policy:
networkPolicy:
disabled: false
asserts:
- hasDocuments:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment