From 34a79139c29d0ea3c6e170fbc3df290f10c266cb Mon Sep 17 00:00:00 2001 From: John Murret Date: Thu, 25 Jul 2024 19:16:59 -0600 Subject: [PATCH] NET-10522 - consul-k8s - update test that makes it seem like global.enabled=false and client.enabled=true is required to enable dns proxy (#4201) --- charts/consul/test/unit/dns-proxy-deployment.bats | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/charts/consul/test/unit/dns-proxy-deployment.bats b/charts/consul/test/unit/dns-proxy-deployment.bats index 1d7b82692c..522476cbfc 100755 --- a/charts/consul/test/unit/dns-proxy-deployment.bats +++ b/charts/consul/test/unit/dns-proxy-deployment.bats @@ -9,12 +9,10 @@ load _helpers . } -@test "dnsProxy/Deployment: enable with global.enabled false, client.enabled true" { +@test "dnsProxy/Deployment: enable with dns.proxy.enabled" { cd `chart_dir` local actual=$(helm template \ -s templates/dns-proxy-deployment.yaml \ - --set 'global.enabled=false' \ - --set 'client.enabled=true' \ --set 'dns.proxy.enabled=true' \ . | tee /dev/stderr | yq 'length > 0' | tee /dev/stderr)