Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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/abbott/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ A Helm chart for Kubernetes
| configmap.enabled | bool | `false` | whether to generate a configmap |
| configmap.redirectURL | string | `""` | OAuth2 redirect URL |
| configmap.tokenURL | string | `""` | OAuth2 token URL |
| configmap.acceptURL | string | `""` | OAuth2 accept URL |
Copy link
Copy Markdown
Contributor

@toddkazakov toddkazakov Jan 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is accept url? I don't think it's in the OAuth2 or OIDC specs. Doesn't seem supported by all of the IDPs so I don't think it should be added as a config option to all of them.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated PR.

| configmap.authorizeURL | string | `""` | OAuth2 authorization URL |
| configmap.revokeURL | string | `""` | OAuth2 revoke URL |
| configmap.jwksURL | string | `""` | JWKS URL |
| configmap.clientURL | string | `""` | client URL |
| configmap.scopes | string | `""` | OAuth2 scopes |
Expand Down
2 changes: 2 additions & 0 deletions charts/tidepool/charts/abbott/templates/0-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ data:
RedirectURL: "{{include "charts.host.api" .}}/v1/oauth/abbott/redirect"
{{ end }}
TokenURL: {{ .Values.configmap.tokenURL | default "" }}
AcceptURL: {{ .Values.configmap.acceptURL | default "" }}
AuthorizeURL: {{ .Values.configmap.authorizeURL | default "" }}
RevokeURL: {{ .Values.configmap.revokeURL | default "" }}
JWKSURL: {{ .Values.configmap.jwksURL | default "" }}
ClientURL: {{ .Values.configmap.clientURL | default "" }}
Scopes: {{ .Values.configmap.scopes | default "" }}
Expand Down
2 changes: 2 additions & 0 deletions charts/tidepool/charts/abbott/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ configmap:
enabled: true
redirectURL: ""
tokenURL: ""
acceptURL: ""
authorizeURL: ""
revokeURL: ""
jwksURL: ""
clientURL: ""
scopes: ""
Expand Down
112 changes: 110 additions & 2 deletions charts/tidepool/charts/auth/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ metadata:
name: auth
namespace: {{.Release.Namespace}}
annotations:
secret.reloader.stakater.com/reload: "server,{{ .Values.mongo.secretName }},abbott,dexcom,twiist,auth"
configmap.reloader.stakater.com/reload: "abbott,dexcom,twiist"
secret.reloader.stakater.com/reload: "server,{{ .Values.mongo.secretName }},abbott,dexcom,oura,twiist,auth"
configmap.reloader.stakater.com/reload: "abbott,dexcom,oura,twiist"
{{ if .Values.deployment.annotations }}
{{- .Values.deployment.annotations | toYaml | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -51,6 +51,12 @@ spec:
{{ include "charts.platform.env.clients" .}}
{{ include "charts.kafka.common" .}}
{{ include "charts.kafka.cloudevents.client" (dict "Values" .Values "Release" .Release "client" "auth") }}
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_ACCEPT_URL
valueFrom:
configMapKeyRef:
name: abbott
key: AcceptURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_AUTHORIZE_URL
valueFrom:
configMapKeyRef:
Expand All @@ -75,6 +81,12 @@ spec:
name: abbott
key: TokenURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_REVOKE_URL
valueFrom:
configMapKeyRef:
name: abbott
key: RevokeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_JWKS_URL
valueFrom:
configMapKeyRef:
Expand All @@ -101,6 +113,12 @@ spec:
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_AUTH_STYLE_IN_PARAMS
value: "true"
- name: TIDEPOOL_SERVICE_PROVIDER_DEXCOM_ACCEPT_URL
valueFrom:
configMapKeyRef:
name: dexcom
key: AcceptURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_DEXCOM_AUTHORIZE_URL
valueFrom:
configMapKeyRef:
Expand All @@ -125,6 +143,12 @@ spec:
name: dexcom
key: TokenURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_DEXCOM_REVOKE_URL
valueFrom:
configMapKeyRef:
name: dexcom
key: RevokeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_DEXCOM_CLIENT_ID
valueFrom:
secretKeyRef:
Expand All @@ -143,6 +167,84 @@ spec:
name: dexcom
key: StateSalt
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_CLIENT_ID
valueFrom:
secretKeyRef:
name: oura
key: ClientId
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: oura
key: ClientSecret
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_ACCEPT_URL
valueFrom:
configMapKeyRef:
name: oura
key: AcceptURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_AUTHORIZE_URL
valueFrom:
configMapKeyRef:
name: oura
key: AuthorizeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_REDIRECT_URL
valueFrom:
configMapKeyRef:
name: oura
key: RedirectURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_TOKEN_URL
valueFrom:
configMapKeyRef:
name: oura
key: TokenURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_REVOKE_URL
valueFrom:
configMapKeyRef:
name: oura
key: RevokeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_SCOPES
valueFrom:
configMapKeyRef:
name: oura
key: Scopes
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_STATE_SALT
valueFrom:
secretKeyRef:
name: oura
key: StateSalt
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_CLIENT_ADDRESS
valueFrom:
configMapKeyRef:
name: oura
key: ClientURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_PARTNER_URL
valueFrom:
configMapKeyRef:
name: oura
key: PartnerURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_PARTNER_SECRET
valueFrom:
secretKeyRef:
name: oura
key: PartnerSecret
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_TWIIST_ACCEPT_URL
valueFrom:
configMapKeyRef:
name: twiist
key: AcceptURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_TWIIST_AUTHORIZE_URL
valueFrom:
configMapKeyRef:
Expand All @@ -161,6 +263,12 @@ spec:
name: twiist
key: TokenURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_TWIIST_REVOKE_URL
valueFrom:
configMapKeyRef:
name: twiist
key: RevokeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_TWIIST_JWKS_URL
valueFrom:
configMapKeyRef:
Expand Down
88 changes: 86 additions & 2 deletions charts/tidepool/charts/data/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ metadata:
name: data
namespace: {{.Release.Namespace}}
annotations:
secret.reloader.stakater.com/reload: "server,{{ .Values.mongo.secretName }},abbott,data"
configmap.reloader.stakater.com/reload: "abbott"
secret.reloader.stakater.com/reload: "server,{{ .Values.mongo.secretName }},abbott,oura,twiist,data"
configmap.reloader.stakater.com/reload: "abbott,oura,twiist"
{{ if .Values.deployment.annotations }}
{{- .Values.deployment.annotations | toYaml | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -52,6 +52,12 @@ spec:
{{ include "charts.platform.env.care-partner-alerts" .}}
{{ include "charts.kafka.common" .}}
{{ include "charts.kafka.cloudevents.client" (dict "Values" .Values "Release" .Release "client" "data") }}
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_ACCEPT_URL
valueFrom:
configMapKeyRef:
name: abbott
key: AcceptURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_AUTHORIZE_URL
valueFrom:
configMapKeyRef:
Expand All @@ -76,6 +82,12 @@ spec:
name: abbott
key: TokenURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_REVOKE_URL
valueFrom:
configMapKeyRef:
name: abbott
key: RevokeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_JWKS_URL
valueFrom:
configMapKeyRef:
Expand Down Expand Up @@ -126,6 +138,78 @@ spec:
name: abbott
key: PartnerURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_CLIENT_ID
valueFrom:
secretKeyRef:
name: oura
key: ClientId
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: oura
key: ClientSecret
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_ACCEPT_URL
valueFrom:
configMapKeyRef:
name: oura
key: AcceptURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_AUTHORIZE_URL
valueFrom:
configMapKeyRef:
name: oura
key: AuthorizeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_REDIRECT_URL
valueFrom:
configMapKeyRef:
name: oura
key: RedirectURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_TOKEN_URL
valueFrom:
configMapKeyRef:
name: oura
key: TokenURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_REVOKE_URL
valueFrom:
configMapKeyRef:
name: oura
key: RevokeURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_SCOPES
valueFrom:
configMapKeyRef:
name: oura
key: Scopes
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_STATE_SALT
valueFrom:
secretKeyRef:
name: oura
key: StateSalt
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_CLIENT_ADDRESS
valueFrom:
configMapKeyRef:
name: oura
key: ClientURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_PARTNER_URL
valueFrom:
configMapKeyRef:
name: oura
key: PartnerURL
optional: true
- name: TIDEPOOL_SERVICE_PROVIDER_OURA_PARTNER_SECRET
valueFrom:
secretKeyRef:
name: oura
key: PartnerSecret
optional: true
- name: TIDEPOOL_TWIIST_SERVICE_ACCOUNT_IDS
valueFrom:
configMapKeyRef:
Expand Down
2 changes: 2 additions & 0 deletions charts/tidepool/charts/dexcom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ A Helm chart for Kubernetes
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| configmap.enabled | bool | `true` | whether to generate a configmap |
| configmap.acceptURL | string | `""` | OAuth2 accept URL |
| configmap.redirectURL | string | `""` | |
| configmap.revokeURL | string | `""` | OAuth2 revoke URL |
| secret.data_.ClientId | string | `""` | plaintext Dexcom Oauth2 client id |
| secret.data_.ClientSecret | string | `""` | plaintext Dexcom Oauth2 client secret |
| secret.data_.StateSalt | string | `""` | plaintext Dexcom Oauth2 state salt |
Expand Down
2 changes: 2 additions & 0 deletions charts/tidepool/charts/dexcom/templates/0-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ data:
RedirectURL: "{{include "charts.host.api" .}}/v1/oauth/dexcom/redirect"
{{ end }}
TokenURL: {{ .Values.configmap.tokenURL | default "https://api.dexcom.com/v1/oauth2/token" }}
AcceptURL: {{ .Values.configmap.acceptURL | default "" }}
AuthorizeURL: {{ .Values.configmap.authorizeURL | default "https://api.dexcom.com/v1/oauth2/login?prompt=login" }}
RevokeURL: {{ .Values.configmap.revokeURL | default "" }}
ClientURL: {{ .Values.configmap.clientURL | default "https://api.dexcom.com" }}
Scopes: {{ .Values.configmap.scopes | default "offline_access" }}
{{ end }}
2 changes: 2 additions & 0 deletions charts/tidepool/charts/dexcom/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ secret:
configmap:
# -- whether to generate a configmap
enabled: true
acceptURL: ""
redirectURL: ""
revokeURL: ""
clientURL: "https://api.dexcom.com"

1 change: 1 addition & 0 deletions charts/tidepool/charts/kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ A Helm chart for Kubernetes
| configmap.UserEventsTopic | string | `"user-events"` | name for the user events topic |
| configmap.Version | string | `"2.4.0"` | required version of Kafka server |
| configmap.enabled | bool | `true` | whether to generate a configmap |
| connect.image | string | `""` | image (registry, name, tag) to use for Kakfa connect |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.3.0](https://github.com/norwoodj/helm-docs/releases/v1.3.0)
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
secret:
secretName: {{ .Values.keycloak.secretName }}
{{- end }}
image: tidepool/connect-debezium:0.48.0-kafka-4.1.0-mongo-1.14.1-pg-1.9.6
image: {{ .Values.connect.image | quote }}
replicas: {{ .Values.global.kafka.connect.replicas | int }}
{{ if .Values.global.kafka.connect.tlsEnabled }}
tls:
Expand Down
2 changes: 2 additions & 0 deletions charts/tidepool/charts/kafka/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ configmap:
Username: "admin"
# -- required version of Kafka server
Version: "2.5.0"
connect:
image: "tidepool/connect-debezium:0.48.0-kafka-4.1.0-mongo-1.14.1-pg-1.9.6"
mongo:
secretName: "mongo"
keycloak:
Expand Down
22 changes: 22 additions & 0 deletions charts/tidepool/charts/oura/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions charts/tidepool/charts/oura/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: oura
version: 0.1.0
home: https://github.com/tidepool-org/development/charts
Loading