---
{{- if .Values.kubeslice.ui.idp}}
apiVersion: v1
kind: Secret
metadata:
name: kubeslice-ui-oidc
namespace: kubeslice-controller
data:
oidc-secrets.yaml: {{ (printf "idp:%s" (.Values.kubeslice.ui.idp | toYaml | nindent 2)) | b64enc }}
{{- end}}