disable catalog sync by default

This commit is contained in:
Mitchell Hashimoto 2018-09-22 16:45:51 -07:00
parent f39ac481aa
commit 0931239bee
No known key found for this signature in database
GPG key ID: 744E147AA52F5B0A
2 changed files with 3 additions and 3 deletions

View file

@ -2,13 +2,13 @@
load _helpers load _helpers
@test "syncCatalog/Deployment: enabled by default" { @test "syncCatalog/Deployment: disabled by default" {
cd `chart_dir` cd `chart_dir`
local actual=$(helm template \ local actual=$(helm template \
-x templates/sync-catalog-deployment.yaml \ -x templates/sync-catalog-deployment.yaml \
. | tee /dev/stderr | . | tee /dev/stderr |
yq 'length > 0' | tee /dev/stderr) yq 'length > 0' | tee /dev/stderr)
[ "${actual}" = "true" ] [ "${actual}" = "false" ]
} }
@test "syncCatalog/Deployment: enable with global.enabled false" { @test "syncCatalog/Deployment: enable with global.enabled false" {

View file

@ -135,7 +135,7 @@ ui:
# Consul agent. # Consul agent.
syncCatalog: syncCatalog:
# True if you want to enable the catalog sync. "-" for default. # True if you want to enable the catalog sync. "-" for default.
enabled: "-" enabled: false
image: null image: null
# toConsul and toK8S control whether syncing is enabled to Consul or K8S # toConsul and toK8S control whether syncing is enabled to Consul or K8S