Skip to content

Commit

Permalink
NET-10522 - consul-k8s - update test that makes it seem like global.e…
Browse files Browse the repository at this point in the history
…nabled=false and client.enabled=true is required to enable dns proxy (#4201)
  • Loading branch information
jmurret authored Jul 26, 2024
1 parent 7086025 commit 34a7913
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions charts/consul/test/unit/dns-proxy-deployment.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 34a7913

Please sign in to comment.