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/stable/vikunja/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ sources:
- https://hub.docker.com/r/vikunja/vikunja
- https://vikunja.io/docs
type: application
version: 21.1.2
version: 21.1.3

18 changes: 15 additions & 3 deletions charts/stable/vikunja/templates/_secrets.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ secret:
enabled: {{ .Values.vikunja.auth.local.enabled }}
openid:
enabled: {{ .Values.vikunja.auth.openid.enabled }}
{{- with .Values.vikunja.auth.openid.redirecturl }}
redirecturl: {{ . | quote }}
{{- end }}
{{- with .Values.vikunja.auth.openid.providers }}
providers:
{{- range $key, $value := . }}
Expand All @@ -163,11 +160,26 @@ secret:
{{- if hasKey $value "scope" }}
scope: {{ $value.scope | quote }}
{{- end }}
{{- if hasKey $value "usernamefallback" }}
usernamefallback: {{ $value.usernamefallback }}
{{- else }}
usernamefallback: false
{{- end }}
{{- if hasKey $value "emailfallback" }}
emailfallback: {{ $value.emailfallback }}
{{- else }}
emailfallback: false
{{- end }}
{{- if hasKey $value "forceuserinfo" }}
forceuserinfo: {{ $value.forceuserinfo }}
{{- else }}
forceuserinfo: false
{{- end }}
{{- if hasKey $value "requireavailability" }}
requireavailability: {{ $value.requireavailability }}
{{- else }}
requireavailability: false
{{- end }}
{{- end }}
{{- end }}

Expand Down
4 changes: 3 additions & 1 deletion charts/stable/vikunja/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ vikunja:
enabled: true
openid:
enabled: false
redirecturl: ""
providers: {}
# Example configuration for multiple OpenID providers:
# providers:
Expand All @@ -114,7 +113,10 @@ vikunja:
# clientid: "vikunja-client-id"
# clientsecret: "vikunja-client-secret"
# scope: "openid profile email"
# usernamefallback: false
# emailfallback: false
# forceuserinfo: false # Optional: Set to true to always use UserInfo endpoint instead of ID token claims
# requireavailability: false
# provider-id2:
# name: "Provider 2"
# authurl: "https://auth2.example.com"
Expand Down
Loading