Merge branch 'add-hydra-url-variable-to-helm-chart' into 'main'

add oidc.baseUrl as a configurable variable for the Hydra base URL

See merge request stackspin/dashboard!22
This commit is contained in:
Arie Peterson 2022-02-10 15:17:38 +00:00
commit f9770ca8bf
4 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,6 @@
dependencies: dependencies:
- name: common - name: common
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 1.10.4 version: 1.11.1
digest: sha256:e177cdcd71e67a1e64e95260c4b780374e1d66e85be405d5dc58459654e49ffa digest: sha256:a000bcd4d4cdd813c67d633b5523b4a4cd478fb95f1cae665d9b0ba5c45b40e2
generated: "2022-01-21T11:11:54.359313957+01:00" generated: "2022-02-10T15:57:46.223230425+01:00"

View file

@ -22,4 +22,4 @@ name: stackspin-dashboard
sources: sources:
- https://open.greenhost.net/stackspin/dashboard/ - https://open.greenhost.net/stackspin/dashboard/
- https://open.greenhost.net/stackspin/dashboard-backend/ - https://open.greenhost.net/stackspin/dashboard-backend/
version: 0.1.3 version: 0.1.4

View file

@ -16,6 +16,7 @@ data:
HYDRA_CLIENT_ID: {{ .Values.backend.oidc.clientId }} HYDRA_CLIENT_ID: {{ .Values.backend.oidc.clientId }}
HYDRA_AUTHORIZATION_BASE_URL: {{ .Values.backend.oidc.authorizationBaseUrl }} HYDRA_AUTHORIZATION_BASE_URL: {{ .Values.backend.oidc.authorizationBaseUrl }}
TOKEN_URL: {{ .Values.backend.oidc.tokenUrl }} TOKEN_URL: {{ .Values.backend.oidc.tokenUrl }}
HYDRA_URL: {{ .Values.backend.oidc.baseUrl }}
# {{- if .Values.backend.smtp.enabled }} # {{- if .Values.backend.smtp.enabled }}
# DASHBOARD_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }} # DASHBOARD_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }}

View file

@ -252,6 +252,7 @@ backend:
oidc: oidc:
clientId: dashboard clientId: dashboard
clientSecret: ReplaceWithSecret clientSecret: ReplaceWithSecret
baseUrl: https://sso.stackspin.example.org
authorizationBaseUrl: https://sso.stackspin.example.org/oauth2/auth authorizationBaseUrl: https://sso.stackspin.example.org/oauth2/auth
tokenUrl: https://sso.stackspin.example.org/oauth2/token tokenUrl: https://sso.stackspin.example.org/oauth2/token