Refactor OIDC provider configuration in configuration.yaml
This commit is contained in:
parent
a791adb21f
commit
61497e1769
1 changed files with 0 additions and 8 deletions
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue