From c599fb0851cf1f64f533b3cb9aa2119c252f578c Mon Sep 17 00:00:00 2001 From: Jimmy Date: Mon, 16 Dec 2024 11:03:34 -0800 Subject: [PATCH] Add appName to mongodb connection string opt params (#295) --- charts/tidepool/Chart.yaml | 2 +- charts/tidepool/templates/_helpers.tpl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/tidepool/Chart.yaml b/charts/tidepool/Chart.yaml index d5257067..41b54d03 100644 --- a/charts/tidepool/Chart.yaml +++ b/charts/tidepool/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Tidepool name: tidepool -version: 0.17.0 +version: 0.17.1 maintainers: - name: Todd Kazakov email: todd@tidepool.org diff --git a/charts/tidepool/templates/_helpers.tpl b/charts/tidepool/templates/_helpers.tpl index 90a3a006..a82e2661 100644 --- a/charts/tidepool/templates/_helpers.tpl +++ b/charts/tidepool/templates/_helpers.tpl @@ -153,13 +153,13 @@ Create environment variables used by all platform services. secretKeyRef: name: {{ .Values.mongo.secretName }} key: Addresses - - name: TIDEPOOL_STORE_OPT_PARAMS + - name: TIDEPOOL_STORE_OPT_PARAMS_BASE valueFrom: secretKeyRef: name: {{ .Values.mongo.secretName }} key: OptParams - - name: TIDEPOOL_STORE_APP_NAME - value: {{ .Chart.Name | quote }} + - name: TIDEPOOL_STORE_OPT_PARAMS + value: "$(TIDEPOOL_STORE_OPT_PARAMS_BASE)&appName={{ .Chart.Name | urlquery }}" - name: TIDEPOOL_STORE_TLS valueFrom: secretKeyRef: