From 921c9f4e10d8626e6f7787e6a53fcfba764c7536 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 26 Sep 2025 15:55:23 +0800 Subject: [PATCH] feat(config): add ENVIRONMENT variable to central-storage-config.yaml for enhanced configuration management --- .../templates/central-storage/central-storage-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/central-storage-config.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/central-storage-config.yaml index c101489b..be5417b4 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/central-storage-config.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/central-storage-config.yaml @@ -7,6 +7,7 @@ type: Opaque data: TZ: {{ .Values.centralStorage.configs.tz | b64enc | quote }} APP_NAME: {{ .Values.centralStorage.configs.appName | b64enc | quote }} + ENVIRONMENT: {{ .Values.global.environment | default .Release.Namespace | b64enc | quote }} SERVICE_API_ACCESS_HOST: {{ .Values.centralStorage.configs.serviceApiAccessHost | b64enc | quote }} SERVICE_API_ACCESS_PORT: {{ .Values.centralStorage.configs.serviceApiAccessPort | toString | b64enc }} MONGODB_NAME: {{ .Values.centralStorage.configs.mongodbName | b64enc | quote }}