feat Add OIDC providers configuration
This commit is contained in:
parent
a09ed65baa
commit
a791adb21f
2 changed files with 20 additions and 2 deletions
|
@ -5,7 +5,7 @@ icon: https://matrix.org/images/matrix-logo.svg
|
|||
appVersion: 1.99.0
|
||||
|
||||
type: application
|
||||
version: 4.0.4
|
||||
version: 4.0.5
|
||||
maintainers:
|
||||
- name: Tommy Skaug
|
||||
email: tommy@skaug.me
|
||||
|
|
|
@ -107,6 +107,7 @@ data:
|
|||
|
||||
media_store_path: "/synapse/data/media"
|
||||
uploads_path: "/synapse/data/uploads"
|
||||
|
||||
{{- if .Values.config.recaptcha }}
|
||||
|
||||
## Captcha ##
|
||||
|
@ -127,7 +128,24 @@ data:
|
|||
enable_registration: {{ .Values.config.enableRegistration | default false }}
|
||||
registration_requires_token: {{ .Values.config.enableRegistration | default false }}
|
||||
|
||||
## Metrics ###
|
||||
{{- if .Values.config.oidcProviders }}
|
||||
oidc_providers:
|
||||
{{- range .Values.config.oidcProviders }}
|
||||
- {{- range $key, $value := . }}
|
||||
{{- if eq $key "clientSecretKeyRef" }}
|
||||
client_secret:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.existingSecrets }}
|
||||
key: "$value"
|
||||
{{- else }}
|
||||
{{ $key }}: {{ $value | toYaml | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
## Metrics ##
|
||||
|
||||
enable_metrics: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue