Skip to content

Commit d0f11f1

Browse files
committed
Add env vars to disable certain tasks from running.
1 parent 3493f1c commit d0f11f1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

charts/tidepool/charts/task/templates/1-deployment.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ spec:
9090
key: ServiceAuth
9191
- name: TIDEPOOL_TASK_SERVICE_SERVER_ADDRESS
9292
value: :{{ .Values.global.ports.task }}
93+
- name: TIDEPOOL_TASK_DISABLE_DEXCOM
94+
valueFrom:
95+
configMapKeyRef:
96+
name: task
97+
key: DisableDexcom
98+
optional: true
99+
- name: TIDEPOOL_TASK_DISABLE_CLINIC
100+
valueFrom:
101+
configMapKeyRef:
102+
name: task
103+
key: DisableClinic
104+
optional: true
93105
image: "{{ .Values.deployment.image }}"
94106
securityContext:
95107
{{- .Values.podSecurityContext | toYaml | nindent 10 }}

0 commit comments

Comments
 (0)