Skip to content

Commit

Permalink
Add appName to mongodb connection string opt params (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
lostlevels authored Dec 16, 2024
1 parent 60428f2 commit c599fb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/tidepool/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
Expand Down
6 changes: 3 additions & 3 deletions charts/tidepool/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c599fb0

Please sign in to comment.