feat(config): add ENVIRONMENT variable to devsvc-config.yaml for improved configuration management
This commit is contained in:
parent
141d3d4e23
commit
92fcddc04b
@ -7,6 +7,7 @@ type: Opaque
|
|||||||
data:
|
data:
|
||||||
TZ: {{ .Values.devsvc.configs.tz | b64enc | quote }}
|
TZ: {{ .Values.devsvc.configs.tz | b64enc | quote }}
|
||||||
APP_NAME: {{ .Values.devsvc.configs.appName | b64enc | quote }}
|
APP_NAME: {{ .Values.devsvc.configs.appName | b64enc | quote }}
|
||||||
|
ENVIRONMENT: {{ .Values.global.environment | default .Release.Namespace | b64enc | quote }}
|
||||||
SERVICE_API_ACCESS_HOST: {{ .Values.devsvc.configs.serviceApiAccessHost | b64enc | quote }}
|
SERVICE_API_ACCESS_HOST: {{ .Values.devsvc.configs.serviceApiAccessHost | b64enc | quote }}
|
||||||
SERVICE_API_ACCESS_PORT: {{ .Values.devsvc.configs.serviceApiAccessPort | toString | b64enc }}
|
SERVICE_API_ACCESS_PORT: {{ .Values.devsvc.configs.serviceApiAccessPort | toString | b64enc }}
|
||||||
MONGODB_NAME: {{ .Values.devsvc.configs.mongodbName | b64enc | quote }}
|
MONGODB_NAME: {{ .Values.devsvc.configs.mongodbName | b64enc | quote }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user