Skip to content
Snippets Groups Projects
Commit 8ab30828 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5958 remove unnecessary unittests

parent 95946fd1
No related branches found
No related tags found
No related merge requests found
...@@ -34,13 +34,6 @@ spec: ...@@ -34,13 +34,6 @@ spec:
ozg-component: xta-adapter ozg-component: xta-adapter
policyTypes: policyTypes:
- Egress - Egress
ingress:
{{- with (.Values.networkPolicy).additionalIngressConfigLocal }}
{{ toYaml . | indent 2 }}
{{- end }}
{{- with (.Values.networkPolicy).additionalIngressConfigGlobal }}
{{ toYaml . | indent 2 }}
{{- end }}
egress: egress:
- to: - to:
- podSelector: - podSelector:
......
...@@ -56,7 +56,6 @@ tests: ...@@ -56,7 +56,6 @@ tests:
ozg-component: xta-adapter ozg-component: xta-adapter
policyTypes: policyTypes:
- Egress - Egress
ingress:
egress: egress:
- to: - to:
- podSelector: - podSelector:
...@@ -123,41 +122,6 @@ tests: ...@@ -123,41 +122,6 @@ tests:
- ipBlock: - ipBlock:
cidr: 1.2.3.4/32 cidr: 1.2.3.4/32
- it: add ingress rule by values local
set:
networkPolicy:
dnsServerNamespace: test-namespace-dns
additionalIngressConfigLocal:
- from:
- podSelector:
matchLabels:
component: client2
asserts:
- contains:
path: spec.ingress
content:
from:
- podSelector:
matchLabels:
component: client2
- it: add ingress rule by values global
set:
networkPolicy:
dnsServerNamespace: test-namespace-dns
additionalIngressConfigGlobal:
- from:
- podSelector:
matchLabels:
component: client2
asserts:
- contains:
path: spec.ingress
content:
from:
- podSelector:
matchLabels:
component: client2
- it: test network policy disabled - it: test network policy disabled
set: set:
networkPolicy: networkPolicy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment