freeleaps-ops/magicleaps/helm-pkg/authentication/templates/authentication/freeleapssecret.yaml
2025-08-22 13:35:12 +08:00

21 lines
715 B
YAML

apiVersion: freeleaps.com/v1alpha1
kind: FreeleapsSecret
metadata:
name: {{ .Values.authentication.secrets.target.name }}
namespace: {{ .Release.Namespace }}
spec:
secretStoreRef:
kind: {{ .Values.authentication.secrets.secretStoreRef.kind }}
name: {{ .Values.authentication.secrets.secretStoreRef.name }}
target:
name: {{ .Values.authentication.secrets.target.name }}
creationPolicy: {{ .Values.authentication.secrets.target.creationPolicy }}
refreshInterval: {{ .Values.authentication.secrets.refreshInterval }}
data:
{{- range .Values.authentication.secrets.data }}
- secretKey: {{ .key }}
remoteRef:
key: {{ .remoteRef.key }}
type: {{ .remoteRef.type }}
{{- end }}