- Changed the key reference from 'key' to 'secretKey' in freeleapssecret.yaml to improve clarity and consistency in secret management. - This adjustment aligns with the recent updates to the secret management structure within the authentication module. Signed-off-by: zhenyus <zhenyus@mathmast.com>
20 lines
698 B
YAML
20 lines
698 B
YAML
apiVersion: freeleaps.com/v1alpha1
|
|
kind: FreeleapsSecret
|
|
metadata:
|
|
name: freeleaps-authentication-secrets
|
|
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 }} |