Skip to content

Commit fd0b686

Browse files
committed
Merge remote-tracking branch 'origin/master' into jimmy/BACK-2784-proxy-user-profile-requests
2 parents 1909d50 + 8622e2e commit fd0b686

File tree

27 files changed

+93
-24
lines changed

27 files changed

+93
-24
lines changed

charts/tidepool/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Tidepool
33
name: tidepool
4-
version: 0.19.0
4+
version: 0.22.0
55
maintainers:
66
- name: Todd Kazakov
77
email: todd@tidepool.org

charts/tidepool/charts/auth/templates/0-configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ data:
1212
AppleDeviceCheckKeyId: {{ .AppleDeviceCheckKeyId | default "" }}
1313
AppleDeviceCheckKeyIssuer: {{ .AppleDeviceCheckKeyIssuer | default "" }}
1414
AppleDeviceCheckUseDevelopment: "{{ .AppleDeviceCheckUseDevelopment | default "true" }}"
15+
BigDataDonationProjectDataRecipientUserId: "{{ .BigDataDonationProjectDataRecipientUserId | default "" }}"
16+
BigDataDonationProjectSharingDisabled: "{{ .BigDataDonationProjectSharingDisabled | default "true" }}"
1517
{{- end }}
1618
{{- end }}

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ spec:
2727
app: auth
2828
app.kubernetes.io/name: {{ include "charts.name" . }}
2929
app.kubernetes.io/instance: {{ .Release.Name }}
30-
{{ if .Values.podAnnotations }}
3130
annotations:
31+
kubectl.kubernetes.io/default-container: auth
32+
{{ if .Values.podAnnotations }}
3233
{{- .Values.podAnnotations | toYaml | nindent 8 }}
3334
{{- end }}
3435
spec:
@@ -241,6 +242,18 @@ spec:
241242
name: auth
242243
key: AppValidationChallengeSize
243244
optional: true
245+
- name: TIDEPOOL_BIG_DATA_DONATION_PROJECT_SHARING_DISABLED
246+
valueFrom:
247+
configMapKeyRef:
248+
name: auth
249+
key: BigDataDonationProjectSharingDisabled
250+
optional: false
251+
- name: TIDEPOOL_BIG_DATA_DONATION_PROJECT_DATA_RECIPIENT_USER_ID
252+
valueFrom:
253+
configMapKeyRef:
254+
name: auth
255+
key: BigDataDonationProjectDataRecipientUserId
256+
optional: true
244257
- name: COASTAL_API_KEY
245258
valueFrom:
246259
secretKeyRef:

charts/tidepool/charts/auth/templates/4-routetable.yaml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
- GET
6464
- PUT
6565
- DELETE
66-
regex: /v1/provider_sessions/[^/]+
66+
prefix: /v1/provider_sessions
6767
routeAction:
6868
single:
6969
upstream:
@@ -163,4 +163,31 @@ spec:
163163
single:
164164
upstream:
165165
name: auth
166+
- matchers:
167+
- methods:
168+
- GET
169+
prefix: /v1/consents
170+
routeAction:
171+
single:
172+
upstream:
173+
name: auth
174+
- matchers:
175+
- methods:
176+
- GET
177+
- POST
178+
regex: /v1/users/[^/]+/consents
179+
routeAction:
180+
single:
181+
upstream:
182+
name: auth
183+
- matchers:
184+
- methods:
185+
- GET
186+
- PATCH
187+
- DELETE
188+
regex: /v1/users/[^/]+/consents/[^/]+
189+
routeAction:
190+
single:
191+
upstream:
192+
name: auth
166193
{{- end }}

charts/tidepool/charts/auth/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ configmap:
1212
AppleDeviceCheckKeyIssuer: "75U4X84TEG"
1313
AppleDeviceCheckKeyId: "B542R658GF"
1414
AppleDeviceCheckUseDevelopment: "true"
15+
BigDataDonationProjectDataRecipientUserId: ""
16+
BigDataDonationProjectSharingDisabled: "true"
1517
deployment:
1618
# -- secrets used to pull images
1719
imagePullSecrets:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ spec:
2525
app: blip
2626
app.kubernetes.io/name: {{ include "charts.name" . }}
2727
app.kubernetes.io/instance: {{ .Release.Name }}
28-
{{ if .Values.podAnnotations }}
2928
annotations:
29+
kubectl.kubernetes.io/default-container: blip
30+
{{ if .Values.podAnnotations }}
3031
{{- .Values.podAnnotations | toYaml | nindent 8 }}
3132
{{- end }}
3233
spec:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ spec:
2222
strategy: {}
2323
template:
2424
metadata:
25-
{{ if .Values.podAnnotations }}
2625
annotations:
26+
kubectl.kubernetes.io/default-container: blob
27+
{{ if .Values.podAnnotations }}
2728
{{- .Values.podAnnotations | toYaml | nindent 8 }}
2829
{{- end }}
2930
labels:

charts/tidepool/charts/clinic-worker/templates/1-deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ spec:
2727
app: clinic-worker
2828
app.kubernetes.io/name: {{ include "charts.name" . }}
2929
app.kubernetes.io/instance: {{ .Release.Name }}
30-
{{ if .Values.podAnnotations }}
3130
annotations:
31+
kubectl.kubernetes.io/default-container: clinic-worker
32+
{{ if .Values.podAnnotations }}
3233
{{- .Values.podAnnotations | toYaml | nindent 8 }}
3334
{{- end }}
3435
spec:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ spec:
2727
app: clinic
2828
app.kubernetes.io/name: {{ include "charts.name" . }}
2929
app.kubernetes.io/instance: {{ .Release.Name }}
30-
{{ if .Values.podAnnotations }}
3130
annotations:
31+
kubectl.kubernetes.io/default-container: clinic
32+
{{ if .Values.podAnnotations }}
3233
{{- .Values.podAnnotations | toYaml | nindent 8 }}
3334
{{- end }}
3435
spec:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ spec:
2727
app: data
2828
app.kubernetes.io/name: {{ include "charts.name" . }}
2929
app.kubernetes.io/instance: {{ .Release.Name }}
30-
{{ if .Values.podAnnotations }}
3130
annotations:
31+
kubectl.kubernetes.io/default-container: data
32+
{{ if .Values.podAnnotations }}
3233
{{- .Values.podAnnotations | toYaml | nindent 8 }}
3334
{{- end }}
3435
spec:

0 commit comments

Comments
 (0)