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

Merge pull request 'OZG-6105 add and update helm unittest for netpol' (#2)...

Merge pull request 'OZG-6105 add and update helm unittest for netpol' (#2) from OZG-6105 into master
parents a58f5762 b56d25c9
No related branches found
No related tags found
No related merge requests found
...@@ -192,3 +192,18 @@ tests: ...@@ -192,3 +192,18 @@ tests:
- podSelector: - podSelector:
matchLabels: matchLabels:
additionalEgressConfigLocal: yes additionalEgressConfigLocal: yes
- it: test 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