Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for DataHub
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.8.22
version: 0.8.23

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,13 @@ spec:
value: {{ .clientSecret }}
{{- end }}
- name: AUTH_OIDC_BASE_URL
{{- if .oidcBaseUrl }}
value: {{ .oidcBaseUrl }}
{{- else if $.Values.global.basePath.enabled }}
value: https://{{ (first $.Values.ingress.hosts).host }}{{ $.Values.global.basePath.frontend }}
{{- else }}
value: https://{{ (first $.Values.ingress.hosts).host }}
{{- end }}
- name: AUTH_OIDC_USER_NAME_CLAIM
value: {{ .user_name_claim | default "email" }}
- name: AUTH_OIDC_USER_NAME_CLAIM_REGEX
Expand Down
4 changes: 4 additions & 0 deletions charts/datahub/subcharts/datahub-frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ oidcAuthentication:
# if needed, it should set meaningful defaults from provider
# scope: "openid profile email"

# Override the base URL used for OIDC redirect URIs.
# When not set, the chart builds it from the first ingress host (and basePath if enabled).
# oidcBaseUrl: https://example.com/datahub

# The attribute that will contain the username used on the DataHub platform.
# user_name_claim: "email"
# A regex string used for extracting the username from the userNameClaim attribute.
Expand Down
Loading