diff --git a/charts/tidepool/charts/abbott/README.md b/charts/tidepool/charts/abbott/README.md index b8651d8b0..fbdf4cf6c 100644 --- a/charts/tidepool/charts/abbott/README.md +++ b/charts/tidepool/charts/abbott/README.md @@ -14,6 +14,7 @@ A Helm chart for Kubernetes | configmap.redirectURL | string | `""` | OAuth2 redirect URL | | configmap.tokenURL | string | `""` | OAuth2 token URL | | 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 | diff --git a/charts/tidepool/charts/abbott/templates/0-configmap.yaml b/charts/tidepool/charts/abbott/templates/0-configmap.yaml index b475637f2..9f147f2f4 100644 --- a/charts/tidepool/charts/abbott/templates/0-configmap.yaml +++ b/charts/tidepool/charts/abbott/templates/0-configmap.yaml @@ -14,6 +14,7 @@ data: {{ end }} TokenURL: {{ .Values.configmap.tokenURL | 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 "" }} diff --git a/charts/tidepool/charts/abbott/values.yaml b/charts/tidepool/charts/abbott/values.yaml index fc0dbb0b2..f26c0cc79 100644 --- a/charts/tidepool/charts/abbott/values.yaml +++ b/charts/tidepool/charts/abbott/values.yaml @@ -3,6 +3,7 @@ configmap: redirectURL: "" tokenURL: "" authorizeURL: "" + revokeURL: "" jwksURL: "" clientURL: "" scopes: "" diff --git a/charts/tidepool/charts/auth/templates/1-deployment.yaml b/charts/tidepool/charts/auth/templates/1-deployment.yaml index 65c22644e..ab5bec174 100644 --- a/charts/tidepool/charts/auth/templates/1-deployment.yaml +++ b/charts/tidepool/charts/auth/templates/1-deployment.yaml @@ -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: "auth,server,{{ .Values.mongo.secretName }},abbott,customer-io,dexcom,oura,twiist" + configmap.reloader.stakater.com/reload: "abbott,auth,customer-io,dexcom,oura,twiist" {{ if .Values.deployment.annotations }} {{- .Values.deployment.annotations | toYaml | nindent 4 }} {{- end }} @@ -75,6 +75,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: @@ -125,6 +131,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: @@ -143,6 +155,78 @@ 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_AUTHORIZE_URL valueFrom: configMapKeyRef: @@ -161,6 +245,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: @@ -320,6 +410,60 @@ spec: name: palmtree key: tlsKeyData optional: true + - name: TIDEPOOL_OURA_JOTFORM_API_KEY + valueFrom: + secretKeyRef: + name: oura + key: JotformAPIKey + optional: true + - name: TIDEPOOL_OURA_JOTFORM_BASE_URL + valueFrom: + configMapKeyRef: + name: oura + key: JotformBaseURL + optional: true + - name: TIDEPOOL_OURA_JOTFORM_FORM_ID + valueFrom: + configMapKeyRef: + name: oura + key: JotformFormId + optional: true + - name: TIDEPOOL_CUSTOMERIO_SITE_ID + valueFrom: + configMapKeyRef: + name: customer-io + key: SiteId + optional: true + - name: TIDEPOOL_CUSTOMERIO_APP_API_KEY + valueFrom: + secretKeyRef: + name: customer-io + key: AppAPIKey + optional: true + - name: TIDEPOOL_CUSTOMERIO_TRACK_API_KEY + valueFrom: + secretKeyRef: + name: customer-io + key: TrackAPIKey + optional: true + - name: TIDEPOOL_OURA_SHOPIFY_STORE_ID + valueFrom: + configMapKeyRef: + name: oura + key: ShopifyStoreId + optional: true + - name: TIDEPOOL_OURA_SHOPIFY_CLIENT_ID + valueFrom: + secretKeyRef: + name: oura + key: ShopifyClientId + optional: true + - name: TIDEPOOL_OURA_SHOPIFY_CLIENT_SECRET + valueFrom: + secretKeyRef: + name: oura + key: ShopifyClientSecret + optional: true {{- range $key, $val := ((.Values.deployment).extraEnv | default ((.Values.global).deployment).extraEnv | default (dict)) }} - name: {{ $key }} value: {{ $val | quote }} diff --git a/charts/tidepool/charts/auth/templates/4-routetable.yaml b/charts/tidepool/charts/auth/templates/4-routetable.yaml index 0541d0488..054fc8088 100644 --- a/charts/tidepool/charts/auth/templates/4-routetable.yaml +++ b/charts/tidepool/charts/auth/templates/4-routetable.yaml @@ -152,6 +152,22 @@ spec: single: upstream: name: auth + - matchers: + - methods: + - POST + regex: /v1/partners/jotform/[^/]+ + routeAction: + single: + upstream: + name: auth + - matchers: + - methods: + - POST + prefix: /v1/partners/shopify/ + routeAction: + single: + upstream: + name: auth - matchers: - methods: - GET diff --git a/charts/tidepool/charts/customer-io/.helmignore b/charts/tidepool/charts/customer-io/.helmignore new file mode 100644 index 000000000..50af03172 --- /dev/null +++ b/charts/tidepool/charts/customer-io/.helmignore @@ -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/ diff --git a/charts/tidepool/charts/customer-io/Chart.yaml b/charts/tidepool/charts/customer-io/Chart.yaml new file mode 100644 index 000000000..0dd7c8bd6 --- /dev/null +++ b/charts/tidepool/charts/customer-io/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +appVersion: "1.0" +description: A Helm chart for Kubernetes +name: customer-io +version: 0.1.0 +home: https://github.com/tidepool-org/development/charts diff --git a/charts/tidepool/charts/customer-io/README.md b/charts/tidepool/charts/customer-io/README.md new file mode 100644 index 000000000..12c816ebd --- /dev/null +++ b/charts/tidepool/charts/customer-io/README.md @@ -0,0 +1,18 @@ +# customer-io + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square) + +A Helm chart for Kubernetes + +**Homepage:** + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| secret.data_.customerIOAppAPIKey | string | `""` | API key customer.io's App API | +| secret.data_.customerIOTrackAPIKey | string | `""` | API key customer.io's Track API | +| secret.enabled | bool | `false` | whether to generate a secret | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/tidepool/charts/customer-io/templates/0-configmap.yaml b/charts/tidepool/charts/customer-io/templates/0-configmap.yaml new file mode 100644 index 000000000..9b7d93c62 --- /dev/null +++ b/charts/tidepool/charts/customer-io/templates/0-configmap.yaml @@ -0,0 +1,11 @@ +{{ if .Values.configmap.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: customer-io + namespace: {{ .Release.Namespace }} + labels: +{{ include "charts.labels.standard" . }} +data: + SiteId: "{{ .Values.configmap.siteId | default "" }}" +{{ end }} diff --git a/charts/tidepool/charts/customer-io/templates/0-secret.yaml b/charts/tidepool/charts/customer-io/templates/0-secret.yaml new file mode 100644 index 000000000..a5bcf6d2e --- /dev/null +++ b/charts/tidepool/charts/customer-io/templates/0-secret.yaml @@ -0,0 +1,14 @@ +{{ if .Values.secret.enabled -}} +--- +apiVersion: v1 +{{ with .Values.secret.data_ -}} +data: + AppAPIKey: {{ .appAPIKey | default "" | b64enc | quote }} + TrackAPIKey: {{ .trackAPIKey | default "" | b64enc | quote }} +{{- end }} +kind: Secret +metadata: + name: customer-io + namespace: {{ .Release.Namespace }} +type: Opaque +{{- end }} diff --git a/charts/tidepool/charts/customer-io/values.yaml b/charts/tidepool/charts/customer-io/values.yaml new file mode 100644 index 000000000..ce82cb903 --- /dev/null +++ b/charts/tidepool/charts/customer-io/values.yaml @@ -0,0 +1,13 @@ +secret: + # -- whether to generate a secret + enabled: false + data_: + # -- API key customer.io's App API + appAPIKey: "" + # -- API key customer.io's Track API + trackAPIKey: "" +configmap: + # -- whether to generate a configmap + enabled: true + # -- Customer.io site ID + siteId: "" \ No newline at end of file diff --git a/charts/tidepool/charts/data/templates/1-deployment.yaml b/charts/tidepool/charts/data/templates/1-deployment.yaml index fe36ae675..8e3c25b7b 100644 --- a/charts/tidepool/charts/data/templates/1-deployment.yaml +++ b/charts/tidepool/charts/data/templates/1-deployment.yaml @@ -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 }} @@ -76,6 +76,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: @@ -126,6 +132,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: diff --git a/charts/tidepool/charts/dexcom/README.md b/charts/tidepool/charts/dexcom/README.md index 688138ea0..e96359dbe 100644 --- a/charts/tidepool/charts/dexcom/README.md +++ b/charts/tidepool/charts/dexcom/README.md @@ -12,6 +12,7 @@ A Helm chart for Kubernetes |-----|------|---------|-------------| | configmap.enabled | bool | `true` | whether to generate a configmap | | 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 | diff --git a/charts/tidepool/charts/dexcom/templates/0-configmap.yaml b/charts/tidepool/charts/dexcom/templates/0-configmap.yaml index ef83b2d06..26d9b0b82 100644 --- a/charts/tidepool/charts/dexcom/templates/0-configmap.yaml +++ b/charts/tidepool/charts/dexcom/templates/0-configmap.yaml @@ -14,6 +14,7 @@ data: {{ end }} TokenURL: {{ .Values.configmap.tokenURL | default "https://api.dexcom.com/v1/oauth2/token" }} 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 }} diff --git a/charts/tidepool/charts/dexcom/values.yaml b/charts/tidepool/charts/dexcom/values.yaml index a5ebb7e2b..0434b48d8 100644 --- a/charts/tidepool/charts/dexcom/values.yaml +++ b/charts/tidepool/charts/dexcom/values.yaml @@ -12,5 +12,6 @@ configmap: # -- whether to generate a configmap enabled: true redirectURL: "" + revokeURL: "" clientURL: "https://api.dexcom.com" diff --git a/charts/tidepool/charts/oura/.helmignore b/charts/tidepool/charts/oura/.helmignore new file mode 100644 index 000000000..50af03172 --- /dev/null +++ b/charts/tidepool/charts/oura/.helmignore @@ -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/ diff --git a/charts/tidepool/charts/oura/Chart.yaml b/charts/tidepool/charts/oura/Chart.yaml new file mode 100644 index 000000000..878f9299c --- /dev/null +++ b/charts/tidepool/charts/oura/Chart.yaml @@ -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 diff --git a/charts/tidepool/charts/oura/README.md b/charts/tidepool/charts/oura/README.md new file mode 100644 index 000000000..893405d24 --- /dev/null +++ b/charts/tidepool/charts/oura/README.md @@ -0,0 +1,35 @@ +# oura + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square) + +A Helm chart for Kubernetes + +**Homepage:** + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| configmap.acceptURL | string | `""` | OAuth2 accept URL | +| configmap.authorizeURL | string | `""` | OAuth2 authorization URL | +| configmap.clientURL | string | `""` | client URL | +| configmap.enabled | bool | `true` | whether to generate a configmap | +| configmap.jotformBaseURL | string | `""` | jotform base URL | +| configmap.jotformFormId | string | `""` | jotform OURA eligibility form ID | +| configmap.partnerURL | string | `""` | partner URL | +| configmap.redirectURL | string | `""` | OAuth2 redirect URL | +| configmap.revokeURL | string | `""` | OAuth2 revoke URL | +| configmap.scopes | string | `""` | OAuth2 scopes | +| configmap.shopifyStoreId | string | `""` | shopify store ID | +| configmap.tokenURL | string | `""` | OAuth2 token URL | +| secret.data_.clientId | string | `""` | plaintext OAuth2 client id | +| secret.data_.clientSecret | string | `""` | plaintext OAuth2 client secret | +| secret.data_.jotformAPIKey | string | `""` | jotform API Key | +| secret.data_.partnerSecret | string | `""` | plaintext partner secret | +| secret.data_.shopifyClientId | string | `""` | plaintext Shopify Client ID | +| secret.data_.shopifyClientSecret | string | `""` | plaintext Shopify Client Secret | +| secret.data_.stateSalt | string | `""` | plaintext OAuth2 state salt | +| secret.enabled | bool | `false` | whether to create a secret | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/tidepool/charts/oura/templates/0-configmap.yaml b/charts/tidepool/charts/oura/templates/0-configmap.yaml new file mode 100644 index 000000000..8e1ef329b --- /dev/null +++ b/charts/tidepool/charts/oura/templates/0-configmap.yaml @@ -0,0 +1,25 @@ +{{ if .Values.configmap.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: oura + namespace: {{ .Release.Namespace }} + labels: +{{ include "charts.labels.standard" . }} +data: + AcceptURL: {{ .Values.configmap.acceptURL | default "" }} + AuthorizeURL: {{ .Values.configmap.authorizeURL | default "" }} +{{ if .Values.configmap.redirectURL }} + RedirectURL: {{ .Values.configmap.redirectURL }} +{{ else }} + RedirectURL: "{{include "charts.host.api" .}}/v1/oauth/oura/redirect" +{{ end }} + TokenURL: {{ .Values.configmap.tokenURL | default "" }} + RevokeURL: {{ .Values.configmap.revokeURL | default "" }} + Scopes: {{ .Values.configmap.scopes | default "" }} + ClientURL: {{ .Values.configmap.clientURL | default "" }} + PartnerURL: {{ .Values.configmap.partnerURL | default "" }} + JotformBaseURL: "{{ .Values.configmap.jotformBaseURL | default "" }}" + JotformFormId: "{{ .Values.configmap.jotformFormId | default "" }}" + ShopifyStoreId: "{{ .Values.configmap.shopifyStoreId | default "" }}" +{{ end }} diff --git a/charts/tidepool/charts/oura/templates/0-secret.yaml b/charts/tidepool/charts/oura/templates/0-secret.yaml new file mode 100644 index 000000000..24fe491b8 --- /dev/null +++ b/charts/tidepool/charts/oura/templates/0-secret.yaml @@ -0,0 +1,19 @@ +{{ if .Values.secret.enabled -}} +--- +apiVersion: v1 +{{ with .Values.secret.data_ -}} +data: + ClientId: {{ .clientId | default "" | b64enc | quote }} + ClientSecret: {{ .clientSecret | default "" | b64enc | quote }} + StateSalt: {{ .stateSalt | default "" | b64enc | quote }} + PartnerSecret: {{ .partnerSecret | default "" | b64enc | quote }} + JotformAPIKey: {{ .jotformAPIKey | default "" | b64enc | quote }} + ShopifyClientId: {{ .shopifyClientId | default "" | b64enc | quote }} + ShopifyClientSecret: {{ .shopifyClientSecret | default "" | b64enc | quote }} +{{- end }} +kind: Secret +metadata: + name: oura + namespace: {{ .Release.Namespace }} +type: Opaque +{{- end }} diff --git a/charts/tidepool/charts/oura/values.yaml b/charts/tidepool/charts/oura/values.yaml new file mode 100644 index 000000000..6b6fb6c24 --- /dev/null +++ b/charts/tidepool/charts/oura/values.yaml @@ -0,0 +1,43 @@ +configmap: + # -- whether to generate a configmap + enabled: true + # -- OAuth2 accept URL + acceptURL: "" + # -- OAuth2 authorization URL + authorizeURL: "" + # -- OAuth2 redirect URL + redirectURL: "" + # -- OAuth2 token URL + tokenURL: "" + # -- OAuth2 revoke URL + revokeURL: "" + # -- OAuth2 scopes + scopes: "" + # -- client URL + clientURL: "" + # -- partner URL + partnerURL: "" + # -- jotform base URL + jotformBaseURL: "" + # -- jotform OURA eligibility form ID + jotformFormId: "" + # -- shopify store ID + shopifyStoreId: "" +secret: + # -- whether to create a secret + enabled: false + data_: + # -- plaintext OAuth2 client id + clientId: "" + # -- plaintext OAuth2 client secret + clientSecret: "" + # -- plaintext OAuth2 state salt + stateSalt: "" + # -- plaintext partner secret + partnerSecret: "" + # -- jotform API Key + jotformAPIKey: "" + # -- plaintext Shopify Client ID + shopifyClientId: "" + # -- plaintext Shopify Client Secret + shopifyClientSecret: "" \ No newline at end of file diff --git a/charts/tidepool/charts/registry/README.md b/charts/tidepool/charts/registry/README.md index ba57253c5..e3380198b 100644 --- a/charts/tidepool/charts/registry/README.md +++ b/charts/tidepool/charts/registry/README.md @@ -1,4 +1,4 @@ -# dexcom +# registry ![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square) diff --git a/charts/tidepool/charts/twiist/README.md b/charts/tidepool/charts/twiist/README.md index 73cd3d2af..06ca40393 100644 --- a/charts/tidepool/charts/twiist/README.md +++ b/charts/tidepool/charts/twiist/README.md @@ -14,6 +14,7 @@ A Helm chart for Kubernetes | configmap.redirectURL | string | `""` | OAuth2 redirect URL | | configmap.tokenURL | string | `""` | OAuth2 token URL | | configmap.authorizeURL | string | `""` | OAuth2 authorization URL | +| configmap.revokeURL | string | `""` | OAuth2 revoke URL | | configmap.jwksURL | string | `""` | jwks URL | | configmap.scopes | string | `""` | OAuth2 scopes | | secret.enabled | bool | `false` | whether to create a secret | diff --git a/charts/tidepool/charts/twiist/templates/0-configmap.yaml b/charts/tidepool/charts/twiist/templates/0-configmap.yaml index d7ba9ed34..fb2b77d76 100644 --- a/charts/tidepool/charts/twiist/templates/0-configmap.yaml +++ b/charts/tidepool/charts/twiist/templates/0-configmap.yaml @@ -14,6 +14,7 @@ data: {{ end }} TokenURL: {{ .Values.configmap.tokenURL | default "" }} AuthorizeURL: {{ .Values.configmap.authorizeURL | default "" }} + RevokeURL: {{ .Values.configmap.revokeURL | default "" }} JWKSURL: {{ .Values.configmap.jwksURL | default "" }} Scopes: {{ .Values.configmap.scopes | default "" }} ServiceAccountIDs: {{ .Values.configmap.serviceAccountIDs | default "" }} diff --git a/charts/tidepool/charts/twiist/values.yaml b/charts/tidepool/charts/twiist/values.yaml index 49db508f2..a89bea7b4 100644 --- a/charts/tidepool/charts/twiist/values.yaml +++ b/charts/tidepool/charts/twiist/values.yaml @@ -3,6 +3,7 @@ configmap: redirectURL: "" tokenURL: "" authorizeURL: "" + revokeURL: "" scopes: "" jwksURL: "" serviceAccountIDs: ""