Skip to content

Commit 882faf1

Browse files
author
Antoine TANZILLI
committed
feat(test): update Helm chart test
1 parent 5a26f47 commit 882faf1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

templates/tests/test-dns-proxy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ spec:
1010
containers:
1111
- name: hook-bind-tools
1212
image: tailzip/bind-tools:latest
13-
args: ['dig', '@{{ include "dnscrypt-proxy.fullname" . }}-udp:5053', 'google.com']
13+
args:
14+
- 'dig'
15+
- '@{{ include "dnscrypt-proxy.fullname" . }}-udp.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain | default "cluster.local" }}'
16+
- 'google.com'
1417
imagePullPolicy: Always
1518
restartPolicy: Never

values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ affinity: {}
3535

3636
# dnscrypt-proxy TOML config
3737
config: ""
38+
39+
clusterDomain: ""

0 commit comments

Comments
 (0)