Refactor OIDC provider configuration in configuration.yaml

This commit is contained in:
Tommy 2024-01-18 16:24:11 +01:00
parent a791adb21f
commit 61497e1769
No known key found for this signature in database

View file

@ -132,16 +132,8 @@ data:
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 }}