Skip to content
Snippets Groups Projects
Commit 5f833315 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6105 add netpol required values unittests

parent c55fe77a
No related branches found
No related tags found
No related merge requests found
...@@ -175,3 +175,18 @@ tests: ...@@ -175,3 +175,18 @@ tests:
asserts: asserts:
- hasDocuments: - hasDocuments:
count: 1 count: 1
- it: test network policy dnsServerNamespace must be set message
set:
networkPolicy:
disabled: false
asserts:
- failedTemplate:
errorMessage: networkPolicy.dnsServerNamespace must be set
- it: test network policy should be enabled by default
set:
networkPolicy:
dnsServerNamespace: test-dns-server-namespace
asserts:
- hasDocuments:
count: 1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment