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

OZG-6105 add netpol required values unittests

parent 5c2ea668
No related branches found
No related tags found
Loading
......@@ -106,6 +106,21 @@ tests:
networkPolicy:
disabled: false
dnsServerNamespace: test-dns-namespace
asserts:
- hasDocuments:
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