disable catalog sync by default
This commit is contained in:
parent
f39ac481aa
commit
0931239bee
2 changed files with 3 additions and 3 deletions
|
@ -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" {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue