From 0931239bee9f555cb5e881ee61c4f668d9459a00 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 22 Sep 2018 16:45:51 -0700 Subject: [PATCH] disable catalog sync by default --- test/unit/sync-catalog-deployment.bats | 4 ++-- values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/sync-catalog-deployment.bats b/test/unit/sync-catalog-deployment.bats index 842b94c..17c0f58 100755 --- a/test/unit/sync-catalog-deployment.bats +++ b/test/unit/sync-catalog-deployment.bats @@ -2,13 +2,13 @@ load _helpers -@test "syncCatalog/Deployment: enabled by default" { +@test "syncCatalog/Deployment: disabled by default" { cd `chart_dir` local actual=$(helm template \ -x templates/sync-catalog-deployment.yaml \ . | tee /dev/stderr | yq 'length > 0' | tee /dev/stderr) - [ "${actual}" = "true" ] + [ "${actual}" = "false" ] } @test "syncCatalog/Deployment: enable with global.enabled false" { diff --git a/values.yaml b/values.yaml index 4c0bdc4..897f77d 100644 --- a/values.yaml +++ b/values.yaml @@ -135,7 +135,7 @@ ui: # Consul agent. syncCatalog: # True if you want to enable the catalog sync. "-" for default. - enabled: "-" + enabled: false image: null # toConsul and toK8S control whether syncing is enabled to Consul or K8S