Skip to content
Snippets Groups Projects
Commit 73ea8981 authored by Andrei Skorkin [EPAM / GCP]'s avatar Andrei Skorkin [EPAM / GCP] Committed by Mikhail Piatliou (EPAM)
Browse files

dataBootstrapEnabled for legal and schema (GONRG-7224)

parent e2b8d4b3
No related branches found
No related tags found
2 merge requests!744Upgraded packages to mitigated vulns in netty, guava, snakeyaml,!710dataBootstrapEnabled for legal and schema (GONRG-7224)
......@@ -32,6 +32,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 storage bootstrap is enabled | boolean | false | yes
### Configmap variables
......@@ -47,9 +48,9 @@ First you need to set variables in **values.yaml** file using any code editor. S
**data.legalHost** | Legal service host address | string | `http://legal` | yes
**data.opaEnabled** | whether OPA is enabled | boolean | false | yes
**data.opaEndpoint** | OPA host address | string | `http://opa` | yes
**data.storageHost** | Storage service host address | string | `http://storage` | only if `conf.bootstrapEnabled` is true
**data.defaultLegalTag** | Name of the previously created legal tag (without partition part) | string | `default-data-tag` | only if `conf.bootstrapEnabled` is true
**data.dataPartitionId** | Data partition id | string | - | only if `conf.bootstrapEnabled` is true
**data.storageHost** | Storage service host address | string | `http://storage` | only if `global.dataBootstrapEnabled` is true
**data.defaultLegalTag** | Name of the previously created legal tag (without partition part) | string | `default-data-tag` | only if `global.dataBootstrapEnabled` is true
**data.dataPartitionId** | Data partition id | string | - | only if `global.dataBootstrapEnabled` is true
**data.redisStorageHost** | The host for redis instance. If empty (by default), helm installs an internal redis instance | string | - | yes
**data.redisStoragePort** | The port for redis instance | digit | 6379 | yes
......@@ -64,8 +65,8 @@ First you need to set variables in **values.yaml** file using any code editor. S
**data.image** | path to the image in a registry | string | - | yes
**data.imagePullPolicy** | when to pull the image | string | `IfNotPresent` | yes
**data.serviceAccountName** | name of kubernetes service account | string | `storage` | yes
**data.bootstrapImage** | path to the bootstrap image in a registry | string | - | only if `conf.bootstrapEnabled` is true
**data.bootstrapServiceAccountName** | name of kubernetes service account that will be used for bootstrap | string | - | only if `conf.bootstrapEnabled` is true
**data.bootstrapImage** | path to the bootstrap image in a registry | string | - | only if `global.dataBootstrapEnabled` is true
**data.bootstrapServiceAccountName** | name of kubernetes service account that will be used for bootstrap | string | - | only if `global.dataBootstrapEnabled` is true
**data.redisImage** | service image | string | `redis:7` | yes
### Configuration variables
......@@ -78,9 +79,8 @@ First you need to set variables in **values.yaml** file using any code editor. S
**conf.postgresSecretName** | secret for postgres | string | `storage-postgres-secret` | yes
**conf.rabbitmqSecretName** | secret for rabbitmq | string | `rabbitmq-secret` | yes
**conf.storageRedisSecretName** | secret for redis that contains redis password with REDIS_PASSWORD key | string | `storage-redis-secret` | yes
**conf.bootstrapSecretName** | secret for bootstrap to access openid provider | string | `datafier-secret` | only if `conf.bootstrapEnabled` is true
**conf.bootstrapSecretName** | secret for bootstrap to access openid provider | string | `datafier-secret` | only if `global.dataBootstrapEnabled` is true
**conf.replicas** | Number of replicas | integer | 3 | yes
**conf.bootstrapEnabled** | whether storage bootstrap is enabled | boolean | false | yes
### Istio variables
......
{{- if .Values.conf.bootstrapEnabled }}
{{- if .Values.global.dataBootstrapEnabled }}
apiVersion: v1
kind: ConfigMap
metadata:
......
{{- if .Values.conf.bootstrapEnabled }}
{{- if .Values.global.dataBootstrapEnabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
......
......@@ -5,6 +5,7 @@
global:
domain: ""
onPremEnabled: false
dataBootstrapEnabled: false
data:
# configmaps
......@@ -44,7 +45,6 @@ conf:
rabbitmqSecretName: "rabbitmq-secret"
bootstrapSecretName: "datafier-secret"
replicas: 3
bootstrapEnabled: false
storageRedisSecretName: "storage-redis-secret"
istio:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment