Skip to content

Commit

Permalink
squashme: add keycloak oidc issuer url
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Aug 24, 2024
1 parent f62d964 commit 59ee069
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-chart/renku/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ KC_DB_PASSWORD: {{ default (randAlphaNum 64) .Values.global.keycloak.postgresPas
{{- end -}}
{{- end -}}

{{- define "renku.keycloakIssuerUrl" -}}
{{- printf "%s/realms/%s" (include "renku.keycloakUrl" . | trimSuffix "/") .Values.global.renku.domain -}}
{{- end -}}

{{/*
Common labels
*/}}
Expand Down
1 change: 1 addition & 0 deletions helm-chart/renku/templates/notebooks/env-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ stringData:
NB_SESSIONS__OIDC__CLIENT_SECRET: {{ .Values.notebooks.oidc.clientSecret }}
NB_SESSIONS__OIDC__AUTH_URL: {{ .Values.notebooks.oidc.authUrl }}
NB_SESSIONS__OIDC__TOKEN_URL: {{ .Values.notebooks.oidc.tokenUrl }}
NB_SESSIONS__OIDC__ISSUER_URL: {{ template "renku.keycloakIssuerUrl" . }}
NB_SESSIONS__OIDC__ALLOW_UNVERIFIED_EMAIL: {{ .Values.notebooks.oidc.allowUnverifiedEmail | quote }}
NB_SESSIONS__INGRESS__HOST: {{ .Values.notebooks.sessionIngress.host }}
NB_SESSIONS__INGRESS__TLS_SECRET: {{ .Values.notebooks.sessionIngress.tlsSecret }}
Expand Down

0 comments on commit 59ee069

Please sign in to comment.