Skip to content
Snippets Groups Projects
Commit ae869453 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 36329eff
No related branches found
No related tags found
1 merge request!633[GONRG-9422]: Remove springProfilesActive explicit setting
......@@ -39,7 +39,6 @@ You need to set variables in **values.yaml** file using any code editor. Some of
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|----------|
**data.logLevel** | logging level | string | `ERROR` | yes
**data.springProfilesActive** | active spring profile | string | `gcp` | yes
**data.entitlementsHost** | Entitlements service host | string | `http://entitlements` | yes
**data.indexerHost** | Indexer service host | string | `http://indexer` | yes
**data.policyHost** | Policy service host | string | `http://policy` | yes
......
......@@ -6,7 +6,11 @@ metadata:
name: {{ printf "%s-config" .Values.conf.appName | quote }}
namespace: {{ .Release.Namespace | quote }}
data:
SPRING_PROFILES_ACTIVE: {{ .Values.data.springProfilesActive | quote }}
{{- if .Values.global.onPremEnabled }}
SPRING_PROFILES_ACTIVE: "anthos"
{{- else }}
SPRING_PROFILES_ACTIVE: "gcp"
{{- end }}
LOG_LEVEL: {{ .Values.data.logLevel | quote }}
{{- if .Values.data.redisSearchHost }}
REDIS_GROUP_HOST: {{ .Values.data.redisSearchHost | quote }}
......
......@@ -5,7 +5,6 @@ global:
data:
# Configmaps
springProfilesActive: "gcp"
logLevel: "ERROR"
entitlementsHost: "http://entitlements"
partitionHost: "http://partition"
......
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