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,18 +132,10 @@ data:
|
||||||
oidc_providers:
|
oidc_providers:
|
||||||
{{- range .Values.config.oidcProviders }}
|
{{- range .Values.config.oidcProviders }}
|
||||||
- {{- range $key, $value := . }}
|
- {{- range $key, $value := . }}
|
||||||
{{- if eq $key "clientSecretKeyRef" }}
|
|
||||||
client_secret:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: {{ .Values.existingSecrets }}
|
|
||||||
key: "$value"
|
|
||||||
{{- else }}
|
|
||||||
{{ $key }}: {{ $value | toYaml | nindent 6 }}
|
{{ $key }}: {{ $value | toYaml | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
## Metrics ##
|
## Metrics ##
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue