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 ...@@ -40,7 +40,6 @@ First you need to set variables in **values.yaml** file using any code editor. S
| Name | Description | Type | Default |Required | | Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------| |------|-------------|------|---------|---------|
**data.logLevel** | logging level | string | INFO | yes **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.entitlementsHost** | entitlements service host address | string | `http://entitlements` | yes
**data.registerHost** | register service host address | string | `http://register` | yes **data.registerHost** | register service host address | string | `http://register` | yes
**data.partitionHost** | partition service host address | string | `http://partition` | yes **data.partitionHost** | partition service host address | string | `http://partition` | yes
......
...@@ -7,7 +7,6 @@ metadata: ...@@ -7,7 +7,6 @@ metadata:
namespace: {{ .Release.Namespace | quote}} namespace: {{ .Release.Namespace | quote}}
data: data:
LOG_LEVEL: {{ .Values.data.logLevel | quote}} LOG_LEVEL: {{ .Values.data.logLevel | quote}}
SPRING_PROFILES_ACTIVE: {{ .Values.data.springProfilesActive | quote}}
ENTITLEMENTS_HOST: {{ .Values.data.entitlementsHost | quote}} ENTITLEMENTS_HOST: {{ .Values.data.entitlementsHost | quote}}
REGISTER_HOST: {{ .Values.data.registerHost | quote}} REGISTER_HOST: {{ .Values.data.registerHost | quote}}
PARTITION_HOST: {{ .Values.data.partitionHost | quote}} PARTITION_HOST: {{ .Values.data.partitionHost | quote}}
...@@ -18,5 +17,8 @@ data: ...@@ -18,5 +17,8 @@ data:
{{- else }} {{- else }}
REDIS_HOST: {{ printf "redis-%s" .Values.conf.appName | quote }} REDIS_HOST: {{ printf "redis-%s" .Values.conf.appName | quote }}
{{- end }} {{- end }}
{{- if not .Values.global.onPremEnabled }} {{- if .Values.global.onPremEnabled }}
SPRING_PROFILES_ACTIVE: "anthos"
{{- else }}
SPRING_PROFILES_ACTIVE: "gcp"
{{- end }} {{- end }}
...@@ -6,7 +6,6 @@ global: ...@@ -6,7 +6,6 @@ global:
data: data:
#Configmaps #Configmaps
logLevel: "ERROR" logLevel: "ERROR"
springProfilesActive: "gcp"
entitlementsHost: "http://entitlements" entitlementsHost: "http://entitlements"
registerHost: "http://register" registerHost: "http://register"
partitionHost: "http://partition" 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