Skip to content

Commit 6f611dd

Browse files
authored
[BACK-3601] Ensure Abbott callback authorization (#321)
- Ensure Abbott callback authorization - Add Abbott partner secret - https://tidepool.atlassian.net/browse/BACK-3601
1 parent 7b68f4f commit 6f611dd

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

charts/tidepool/charts/abbott/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ A Helm chart for Kubernetes
2323
| secret.data_.ClientSecret | string | `""` | plaintext OAuth2 client secret |
2424
| secret.data_.StateSalt | string | `""` | plaintext OAuth2 state salt |
2525
| secret.data_.PartnerID | string | `""` | plaintext partner id (same as OAuth2 client id) |
26+
| secret.data_.PartnerSecret | string | `""` | plaintext partner secret (callback authorization) |
2627

2728
----------------------------------------------
2829
Autogenerated from chart metadata using [helm-docs v1.3.0](https://github.com/norwoodj/helm-docs/releases/v1.3.0)

charts/tidepool/charts/abbott/templates/0-secret.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ data:
77
ClientSecret: {{ .ClientSecret | default "" | b64enc | quote }}
88
StateSalt: {{ .StateSalt | default "" | b64enc | quote }}
99
PartnerId: {{ .PartnerId | default "" | b64enc | quote }}
10+
PartnerSecret: {{ .PartnerSecret | default "" | b64enc | quote }}
1011
{{- end }}
1112
kind: Secret
1213
metadata:

charts/tidepool/charts/abbott/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ secret:
1414
ClientSecret: ""
1515
StateSalt: ""
1616
PartnerId: ""
17+
PartnerSecret: ""

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ spec:
111111
name: abbott
112112
key: PartnerId
113113
optional: true
114+
- name: TIDEPOOL_ABBOTT_CLIENT_PARTNER_SECRET
115+
valueFrom:
116+
secretKeyRef:
117+
name: abbott
118+
key: PartnerSecret
119+
optional: true
114120
- name: TIDEPOOL_ABBOTT_CLIENT_PARTNER_URL
115121
valueFrom:
116122
configMapKeyRef:

0 commit comments

Comments
 (0)