diff --git a/flux2/core/base/dashboard/dashboard-release.yaml b/flux2/core/base/dashboard/dashboard-release.yaml index 19fc79091e5cd1c512298c4e2c0a28a9f57cf8e7..afe0f858167816ee47fe71faa75b6ab889cf8617 100644 --- a/flux2/core/base/dashboard/dashboard-release.yaml +++ b/flux2/core/base/dashboard/dashboard-release.yaml @@ -13,7 +13,7 @@ spec: spec: # renovate: registryUrl=https://open.greenhost.net/api/v4/projects/48/packages/helm/stable chart: stackspin-dashboard - version: 0.1.2 + version: 0.1.3 sourceRef: kind: HelmRepository name: dashboard diff --git a/flux2/core/base/dashboard/dashboard-values-configmap.yaml b/flux2/core/base/dashboard/dashboard-values-configmap.yaml index df64435150e69c7a9faf0c35744111d5a5ae55a5..1c0eeb3dcdf915f9540b2c2ec253e77d576deb40 100644 --- a/flux2/core/base/dashboard/dashboard-values-configmap.yaml +++ b/flux2/core/base/dashboard/dashboard-values-configmap.yaml @@ -25,7 +25,12 @@ data: password: "${outgoing_mail_smtp_password}" host: "${outgoing_mail_smtp_host}" port: "${outgoing_mail_smtp_port}" - kratosUrl: single-sign-on-kratos-admin + kratosUrl: http://single-sign-on-kratos-admin + oidc: + clientId: dashboard + clientSecret: ${client_secret} + authorizationBaseUrl: "https://sso.${domain}/oauth2/auth" + tokenUrl: "https://sso.${domain}/oauth2/token" resources: limits: cpu: 200m diff --git a/flux2/core/base/sources/dashboard.yaml b/flux2/core/base/sources/dashboard.yaml index 744cbb151638ada76944f95b4f7d13d5595dae0d..11e2e747f43daeb349911c70e71f9c798995ba9c 100644 --- a/flux2/core/base/sources/dashboard.yaml +++ b/flux2/core/base/sources/dashboard.yaml @@ -8,4 +8,4 @@ spec: # The interval at which to check the upstream for updates interval: 1h # The repository URL, can be a HTTP/S or SSH address - url: https://open.greenhost.net/api/v4/projects/48/packages/helm/stable + url: https://open.greenhost.net/api/v4/projects/48/packages/helm/unstable diff --git a/test/taiko/apps.js b/test/taiko/apps.js index 0556eeb16ada7c77a53637b8142326f89b773a7c..6233bfaf6360a03f1118be938fbcaaab4d613f28 100644 --- a/test/taiko/apps.js +++ b/test/taiko/apps.js @@ -174,6 +174,9 @@ Wekan still doesnt support OIDC redirects (https://github.com/wekan/wekan/issues const dashboardUrl = 'https://dashboard.' + domain console.log('• Dashboard at ' + dashboardUrl) await goto(dashboardUrl) + await sso_login_if_needed('Sign in') + await assert.ok(await text('Dashboard').exists()) + await assert.ok(await text('Quick access').exists()) } // Zulip