diff --git a/ozgcloud-elasticsearch-operator/src/test/helm/deployment_template_spec_test.yaml b/ozgcloud-elasticsearch-operator/src/test/helm/deployment_template_spec_test.yaml index 84ae09f8e5e410873c277df93c517d2b66730632..8ec9dbacd2267f9b2579ca4c5e2e57330edf10f6 100644 --- a/ozgcloud-elasticsearch-operator/src/test/helm/deployment_template_spec_test.yaml +++ b/ozgcloud-elasticsearch-operator/src/test/helm/deployment_template_spec_test.yaml @@ -49,4 +49,18 @@ tests: asserts: - equal: path: spec.template.spec.restartPolicy - value: Always \ No newline at end of file + 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