Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions charts/tidepool/charts/auth/templates/0-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ data:
AppleDeviceCheckKeyId: {{ .AppleDeviceCheckKeyId | default "" }}
AppleDeviceCheckKeyIssuer: {{ .AppleDeviceCheckKeyIssuer | default "" }}
AppleDeviceCheckUseDevelopment: "{{ .AppleDeviceCheckUseDevelopment | default "true" }}"
BigDataDonationProjectDataRecipientUserId: "{{ .BigDataDonationProjectDataRecipientUserId | default "" }}"
BigDataDonationProjectSharingDisabled: "{{ .BigDataDonationProjectSharingDisabled | default "true" }}"
{{- end }}
{{- end }}
12 changes: 12 additions & 0 deletions charts/tidepool/charts/auth/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,18 @@ spec:
name: auth
key: AppValidationChallengeSize
optional: true
- name: TIDEPOOL_BIG_DATA_DONATION_PROJECT_SHARING_DISABLED
valueFrom:
configMapKeyRef:
name: auth
key: BigDataDonationProjectSharingDisabled
optional: false
- name: TIDEPOOL_BIG_DATA_DONATION_PROJECT_DATA_RECIPIENT_USER_ID
valueFrom:
configMapKeyRef:
name: auth
key: BigDataDonationProjectDataRecipientUserId
optional: true
- name: COASTAL_API_KEY
valueFrom:
secretKeyRef:
Expand Down
28 changes: 28 additions & 0 deletions charts/tidepool/charts/auth/templates/4-routetable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,32 @@ spec:
single:
upstream:
name: auth
- matchers:
- methods:
- GET
prefix: /v1/consents
routeAction:
single:
upstream:
name: auth
- matchers:
- methods:
- GET
- POST
regex: /v1/users/[^/]+/consents
routeAction:
single:
upstream:
name: auth
- matchers:
- methods:
- GET
- PATCH
- DELETE
regex: /v1/users/[^/]+/consents/[^/]+
routeAction:
single:
upstream:
name: auth

{{- end }}
2 changes: 2 additions & 0 deletions charts/tidepool/charts/auth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ configmap:
AppleDeviceCheckKeyIssuer: "75U4X84TEG"
AppleDeviceCheckKeyId: "B542R658GF"
AppleDeviceCheckUseDevelopment: "true"
BigDataDonationProjectDataRecipientUserId: ""
BigDataDonationProjectSharingDisabled: "true"
deployment:
# -- secrets used to pull images
imagePullSecrets:
Expand Down