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

OZG-4453 add helm deployment unit test for dns config

parent 13720b63
No related branches found
No related tags found
No related merge requests found
...@@ -50,3 +50,17 @@ tests: ...@@ -50,3 +50,17 @@ tests:
- equal: - equal:
path: spec.template.spec.restartPolicy path: spec.template.spec.restartPolicy
value: Always value: Always
- it: validate dns config
set:
image:
name: hase
tag: latest
imagePullSecret: imagePullSecret
asserts:
- equal:
path: spec.template.spec.dnsConfig
value: {}
- equal:
path: spec.template.spec.dnsPolicy
value: ClusterFirst
\ 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