Skip to content
Snippets Groups Projects
Commit 1c30f0bf authored by Mykola Ronik [EPAM / GCP]'s avatar Mykola Ronik [EPAM / GCP] Committed by Mikhail Piatliou (EPAM)
Browse files

[GONRG-9422]: Remove springProfilesActive explicit setting

parent 0d5c8098
No related branches found
No related tags found
3 merge requests!863Ibm spring6 part2 code change,!858[GONRG-9422]: Remove springProfilesActive explicit setting,!855Spring 6 Migration - Code changes
......@@ -39,7 +39,6 @@ First you need to set variables in **values.yaml** file using any code editor. S
| Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------|
**data.logLevel** | logging level | string | `ERROR` | yes
**data.springProfilesActive** | active spring profile | string | `gcp` | yes
**data.defaultDataCountry** | Data storage region | string | `US` | yes
**data.storageServiceAccountEmail** | Storage service account email, used during OQM events processing | string | `storage@service.local` | yes
**data.entitlementsHost** | Entitlements service host address | string | `http://entitlements` | yes
......
......@@ -13,7 +13,11 @@ data:
LOG_LEVEL: {{ .Values.data.logLevel | quote }}
PARTITION_HOST: {{ .Values.data.partitionHost | quote }}
STORAGE_SERVICE_ACCOUNT_EMAIL: {{ .Values.data.storageServiceAccountEmail | quote }}
SPRING_PROFILES_ACTIVE: {{ .Values.data.springProfilesActive | quote }}
{{- if .Values.global.onPremEnabled }}
SPRING_PROFILES_ACTIVE: "anthos"
{{- else }}
SPRING_PROFILES_ACTIVE: "gcp"
{{- end }}
OPA_ENABLED: {{ .Values.data.opaEnabled | quote }}
OPA_ENDPOINT: {{ .Values.data.opaEndpoint | quote }}
{{- if .Values.data.redisStorageHost }}
......
......@@ -10,7 +10,6 @@ global:
data:
# configmaps
logLevel: "ERROR"
springProfilesActive: "gcp"
defaultDataCountry: "US"
storageServiceAccountEmail: "storage@service.local"
entitlementsHost: "http://entitlements"
......
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