Skip to content
Snippets Groups Projects
Commit 404fb02b authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-5958 remove unnecessary unittests

parent eaf4d191
No related branches found
No related tags found
No related merge requests found
......@@ -34,13 +34,6 @@ spec:
ozg-component: xta-adapter
policyTypes:
- Egress
ingress:
{{- with (.Values.networkPolicy).additionalIngressConfigLocal }}
{{ toYaml . | indent 2 }}
{{- end }}
{{- with (.Values.networkPolicy).additionalIngressConfigGlobal }}
{{ toYaml . | indent 2 }}
{{- end }}
egress:
- to:
- podSelector:
......
......@@ -56,7 +56,6 @@ tests:
ozg-component: xta-adapter
policyTypes:
- Egress
ingress:
egress:
- to:
- podSelector:
......@@ -123,41 +122,6 @@ tests:
- ipBlock:
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
set:
networkPolicy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment