Skip to content

Commit 3c2e024

Browse files
committed
fix(vikunja): Fix OIDC config, see: https://vikunja.io/docs/config-options/#1-auth-openid
1 parent 6f1c355 commit 3c2e024

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

charts/stable/vikunja/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ sources:
4141
- https://hub.docker.com/r/vikunja/vikunja
4242
- https://vikunja.io/docs
4343
type: application
44-
version: 21.1.2
44+
version: 21.1.3
4545

charts/stable/vikunja/templates/_secrets.tpl

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ secret:
146146
enabled: {{ .Values.vikunja.auth.local.enabled }}
147147
openid:
148148
enabled: {{ .Values.vikunja.auth.openid.enabled }}
149-
{{- with .Values.vikunja.auth.openid.redirecturl }}
150-
redirecturl: {{ . | quote }}
151-
{{- end }}
152149
{{- with .Values.vikunja.auth.openid.providers }}
153150
providers:
154151
{{- range $key, $value := . }}
@@ -163,11 +160,26 @@ secret:
163160
{{- if hasKey $value "scope" }}
164161
scope: {{ $value.scope | quote }}
165162
{{- end }}
163+
{{- if hasKey $value "usernamefallback" }}
164+
usernamefallback: {{ $value.usernamefallback }}
165+
{{- else }}
166+
usernamefallback: false
167+
{{- end }}
168+
{{- if hasKey $value "emailfallback" }}
169+
emailfallback: {{ $value.emailfallback }}
170+
{{- else }}
171+
emailfallback: false
172+
{{- end }}
166173
{{- if hasKey $value "forceuserinfo" }}
167174
forceuserinfo: {{ $value.forceuserinfo }}
168175
{{- else }}
169176
forceuserinfo: false
170177
{{- end }}
178+
{{- if hasKey $value "requireavailability" }}
179+
requireavailability: {{ $value.requireavailability }}
180+
{{- else }}
181+
requireavailability: false
182+
{{- end }}
171183
{{- end }}
172184
{{- end }}
173185

charts/stable/vikunja/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ vikunja:
103103
enabled: true
104104
openid:
105105
enabled: false
106-
redirecturl: ""
107106
providers: {}
108107
# Example configuration for multiple OpenID providers:
109108
# providers:

0 commit comments

Comments
 (0)