From 3dc9474ffc6222f755d84864a8334ef091f40564 Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Fri, 30 Nov 2018 16:05:40 -0600 Subject: [PATCH] update defaults for ui-service test --- test/unit/ui-service.bats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/unit/ui-service.bats b/test/unit/ui-service.bats index df46864..e49972f 100755 --- a/test/unit/ui-service.bats +++ b/test/unit/ui-service.bats @@ -2,13 +2,13 @@ load _helpers -@test "ui/Service: enabled by default" { +@test "ui/Service: disabled by default" { cd `chart_dir` local actual=$(helm template \ -x templates/ui-service.yaml \ . | tee /dev/stderr | yq 'length > 0' | tee /dev/stderr) - [ "${actual}" = "true" ] + [ "${actual}" = "false" ] } @test "ui/Service: enable with global.enabled false" { @@ -88,6 +88,7 @@ load _helpers local actual=$(helm template \ -x templates/ui-service.yaml \ --set 'ui.service.type=LoadBalancer' \ + --set 'ui.enabled=true' \ . | tee /dev/stderr | yq -r '.spec.type' | tee /dev/stderr) [ "${actual}" = "LoadBalancer" ]