From 899da273f4055a6a56c66d8f2f0fe24bf9b86993 Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Thu, 10 Feb 2022 15:52:33 +0100 Subject: [PATCH 1/2] add oidc.baseUrl as a configurable variable for the Hydra base URL --- deployment/helmchart/templates/configmaps.yaml | 1 + deployment/helmchart/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/deployment/helmchart/templates/configmaps.yaml b/deployment/helmchart/templates/configmaps.yaml index 34c5a7f..d208e87 100644 --- a/deployment/helmchart/templates/configmaps.yaml +++ b/deployment/helmchart/templates/configmaps.yaml @@ -16,6 +16,7 @@ data: HYDRA_CLIENT_ID: {{ .Values.backend.oidc.clientId }} HYDRA_AUTHORIZATION_BASE_URL: {{ .Values.backend.oidc.authorizationBaseUrl }} TOKEN_URL: {{ .Values.backend.oidc.tokenUrl }} + HYDRA_URL: {{ .Values.backend.oidc.baseUrl }} # {{- if .Values.backend.smtp.enabled }} # DASHBOARD_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }} diff --git a/deployment/helmchart/values.yaml b/deployment/helmchart/values.yaml index 1f976f1..e9a46fe 100644 --- a/deployment/helmchart/values.yaml +++ b/deployment/helmchart/values.yaml @@ -252,6 +252,7 @@ backend: oidc: clientId: dashboard clientSecret: ReplaceWithSecret + baseUrl: https://sso.stackspin.example.org authorizationBaseUrl: https://sso.stackspin.example.org/oauth2/auth tokenUrl: https://sso.stackspin.example.org/oauth2/token From 86540af8a7070763655cf1e8e049f62ae1d99370 Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Thu, 10 Feb 2022 15:58:38 +0100 Subject: [PATCH 2/2] update version number and chart.lock --- deployment/helmchart/Chart.lock | 6 +++--- deployment/helmchart/Chart.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/helmchart/Chart.lock b/deployment/helmchart/Chart.lock index e20d8df..fcd633a 100644 --- a/deployment/helmchart/Chart.lock +++ b/deployment/helmchart/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: https://charts.bitnami.com/bitnami - version: 1.10.4 -digest: sha256:e177cdcd71e67a1e64e95260c4b780374e1d66e85be405d5dc58459654e49ffa -generated: "2022-01-21T11:11:54.359313957+01:00" + version: 1.11.1 +digest: sha256:a000bcd4d4cdd813c67d633b5523b4a4cd478fb95f1cae665d9b0ba5c45b40e2 +generated: "2022-02-10T15:57:46.223230425+01:00" diff --git a/deployment/helmchart/Chart.yaml b/deployment/helmchart/Chart.yaml index 73c42c7..8e05831 100644 --- a/deployment/helmchart/Chart.yaml +++ b/deployment/helmchart/Chart.yaml @@ -22,4 +22,4 @@ name: stackspin-dashboard sources: - https://open.greenhost.net/stackspin/dashboard/ - https://open.greenhost.net/stackspin/dashboard-backend/ -version: 0.1.3 +version: 0.1.4