Skip to content
Snippets Groups Projects
Commit 315729f3 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 72b10f1e
No related branches found
No related tags found
1 merge request!492[GONRG-9422]: Remove springProfilesActive explicit setting
......@@ -40,7 +40,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 | INFO | yes
**data.springProfilesActive** | active spring profile | string | gcp | yes
**data.entitlementsHost** | entitlements service host address | string | `http://entitlements` | yes
**data.registerHost** | register service host address | string | `http://register` | yes
**data.partitionHost** | partition service host address | string | `http://partition` | yes
......
......@@ -7,7 +7,6 @@ metadata:
namespace: {{ .Release.Namespace | quote}}
data:
LOG_LEVEL: {{ .Values.data.logLevel | quote}}
SPRING_PROFILES_ACTIVE: {{ .Values.data.springProfilesActive | quote}}
ENTITLEMENTS_HOST: {{ .Values.data.entitlementsHost | quote}}
REGISTER_HOST: {{ .Values.data.registerHost | quote}}
PARTITION_HOST: {{ .Values.data.partitionHost | quote}}
......@@ -18,5 +17,8 @@ data:
{{- else }}
REDIS_HOST: {{ printf "redis-%s" .Values.conf.appName | quote }}
{{- end }}
{{- if not .Values.global.onPremEnabled }}
{{- if .Values.global.onPremEnabled }}
SPRING_PROFILES_ACTIVE: "anthos"
{{- else }}
SPRING_PROFILES_ACTIVE: "gcp"
{{- end }}
......@@ -6,7 +6,6 @@ global:
data:
#Configmaps
logLevel: "ERROR"
springProfilesActive: "gcp"
entitlementsHost: "http://entitlements"
registerHost: "http://register"
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