feat(config): add ENVIRONMENT variable to devsvc-config.yaml for improved configuration management

This commit is contained in:
Nicolas 2025-09-26 15:47:20 +08:00
parent 141d3d4e23
commit 92fcddc04b

View File

@ -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 }}