Skip to content

Commit 112b062

Browse files
committed
Add TIDEPOOL_DISABLE_INDEX_CREATION env in right template partial.
1 parent ec08490 commit 112b062

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

charts/tidepool/templates/_helpers.tpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,18 @@ Create environment variables used by all platform services.
167167
secretKeyRef:
168168
name: {{ .Values.mongo.secretName }}
169169
key: Tls
170+
- name: TIDEPOOL_DISABLE_INDEX_CREATION
171+
valueFrom:
172+
secretKeyRef:
173+
name: {{ .Values.mongo.secretName }}
174+
key: DisableIndexCreation
175+
optional: true
170176
{{ end }}
171177

172178
{{ define "charts.platform.env.mongo" }}
173179
{{ include "charts.mongo.params" . }}
174180
- name: TIDEPOOL_STORE_DATABASE
175181
value: tidepool
176-
- name: TIDEPOOL_DISABLE_INDEX_CREATION
177-
valueFrom:
178-
secretKeyRef:
179-
name: {{ .Values.mongo.secretName }}
180-
key: DisabledIndexCreation
181-
optional: true
182182
{{ end }}
183183

184184
{{- define "charts.routing.opts.shadowing" -}}

0 commit comments

Comments
 (0)