rancher-partner-charts/charts/avesha/kubeslice-controller/templates/kubeslice-ui-oidc-secret.yaml

11 lines
258 B
YAML

---
{{- 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}}