Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow starting services in read-only mode #228

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Allow disabling the user events handler in platform services
  • Loading branch information
toddkazakov committed Mar 29, 2023
commit 5e6719e028ccbb4ada330642508494a606333509
1 change: 1 addition & 0 deletions charts/tidepool/charts/auth/templates/0-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ data:
AppleDeviceCheckKeyId: {{ .AppleDeviceCheckKeyId | default "" }}
AppleDeviceCheckKeyIssuer: {{ .AppleDeviceCheckKeyIssuer | default "" }}
AppleDeviceCheckUseDevelopment: "{{ .AppleDeviceCheckUseDevelopment | default "true" }}"
UserEventsHandlerDisable: "{{ .UserEventsHandlerDisable | default "false" }}"
{{- end }}
6 changes: 6 additions & 0 deletions charts/tidepool/charts/auth/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ spec:
name: dexcom
key: StateSalt
optional: true
- name: TIDEPOOL_AUTH_USER_EVENTS_HANDLER_DISABLE
valueFrom:
configMapKeyRef:
name: auth
key: UserEventsHandlerDisable
optional: true
- name: TIDEPOOL_AUTH_SERVICE_DOMAIN
value: {{ .Values.global.gateway.default.domain }}
- name: TIDEPOOL_AUTH_SERVICE_SERVER_ADDRESS
Expand Down
1 change: 1 addition & 0 deletions charts/tidepool/charts/auth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ configmap:
AppleDeviceCheckKeyIssuer: "75U4X84TEG"
AppleDeviceCheckKeyId: "B542R658GF"
AppleDeviceCheckUseDevelopment: "true"
UserEventsHandlerDisable: "false"
deployment:
# -- auth Docker image
image: tidepool/platform-auth:master-latest
Expand Down
6 changes: 6 additions & 0 deletions charts/tidepool/charts/blob/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ spec:
{{ include "charts.platform.env.clients" .}}
{{ include "charts.kafka.common" .}}
{{ include "charts.kafka.cloudevents.client" (dict "Values" .Values "Release" .Release "client" "blob") }}
- name: TIDEPOOL_BLOB_USER_EVENTS_HANDLER_DISABLE
valueFrom:
configMapKeyRef:
name: blob
key: UserEventsHandlerDisable
optional: true
- name: TIDEPOOL_BLOB_SERVICE_SECRET
valueFrom:
secretKeyRef:
Expand Down
6 changes: 6 additions & 0 deletions charts/tidepool/charts/data/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ spec:
{{ include "charts.platform.env.clients" .}}
{{ include "charts.kafka.common" .}}
{{ include "charts.kafka.cloudevents.client" (dict "Values" .Values "Release" .Release "client" "data") }}
- name: TIDEPOOL_DATA_USER_EVENTS_HANDLER_DISABLE
valueFrom:
configMapKeyRef:
name: data
key: UserEventsHandlerDisable
optional: true
- name: TIDEPOOL_DATA_SERVICE_SECRET
valueFrom:
secretKeyRef:
Expand Down