diff --git a/devops/gc/deploy/README.md b/devops/gc/deploy/README.md index 62b82fb9cceb4eaa408fbcf427ef7a49d346e001..2bb16b416d763077267c6a64793b9310fce8c2c8 100644 --- a/devops/gc/deploy/README.md +++ b/devops/gc/deploy/README.md @@ -98,6 +98,7 @@ First you need to set variables in **values.yaml** file using any code editor. S |------|-------------|------|---------|---------| **global.domain** | your domain for the external endpoint, ex `example.com` | string | - | yes **global.onPremEnabled** | whether on-prem is enabled | boolean | false | yes +**global.dataBootstrapEnabled** | whether bootstrap is enabled | boolean | false | yes ### Configmap variables @@ -135,7 +136,6 @@ First you need to set variables in **values.yaml** file using any code editor. S **conf.postgresSecretName** | Secret name for postgres service | string | legal-postgres-secret | yes **conf.rabbitmqSecretName** | Secret name for rabbitmq service | string | rabbitmq-secret | yes **conf.bootstrapSecretName** | Secret name for bootstrap | string | datafier-secret | yes -**conf.bootstrapEnabled** | whether bootstrap is enabled | boolean | false | yes ### Istio variables diff --git a/devops/gc/deploy/templates/bootstrap-deployment.yaml b/devops/gc/deploy/templates/bootstrap-deployment.yaml index 3bb7b20360d92a42239cdff2217b2b2175bc89a2..e139349d606375693a71338554fe40a0325e70d6 100644 --- a/devops/gc/deploy/templates/bootstrap-deployment.yaml +++ b/devops/gc/deploy/templates/bootstrap-deployment.yaml @@ -1,4 +1,4 @@ -{{- if .Values.conf.bootstrapEnabled }} +{{- if .Values.global.dataBootstrapEnabled }} apiVersion: apps/v1 kind: Deployment metadata: diff --git a/devops/gc/deploy/templates/configmap-bootstrap.yaml b/devops/gc/deploy/templates/configmap-bootstrap.yaml index dba79ebef66a494c2f2bc55018d4dbe0ee344961..64ce2081d0e93e54ac11a0408c31c4bd1d9b8d57 100644 --- a/devops/gc/deploy/templates/configmap-bootstrap.yaml +++ b/devops/gc/deploy/templates/configmap-bootstrap.yaml @@ -1,4 +1,4 @@ -{{- if .Values.conf.bootstrapEnabled }} +{{- if .Values.global.dataBootstrapEnabled }} apiVersion: v1 kind: ConfigMap metadata: diff --git a/devops/gc/deploy/values.yaml b/devops/gc/deploy/values.yaml index efbc2bc1fb9d7a79130ae9bd4ae322bda47c6bf1..b4f04a3dad5598a81b1d5a7fb7e95e0848370854 100644 --- a/devops/gc/deploy/values.yaml +++ b/devops/gc/deploy/values.yaml @@ -5,6 +5,7 @@ global: domain: "" onPremEnabled: false + dataBootstrapEnabled: false data: # configmaps @@ -33,7 +34,6 @@ conf: postgresSecretName: "legal-postgres-secret" rabbitmqSecretName: "rabbitmq-secret" bootstrapSecretName: "datafier-secret" - bootstrapEnabled: false istio: proxyCPU: "5m"