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
Branches
Tags
No related merge requests found
...@@ -109,3 +109,18 @@ tests: ...@@ -109,3 +109,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