* feat(argo-cd): support annotations in argocd-configs secrets Signed-off-by: yu-croco <yuki.kita22@gmail.com> * fix(argo-cd): align to exitsing format Signed-off-by: yu-croco <yuki.kita22@gmail.com>
15 lines
460 B
YAML
15 lines
460 B
YAML
{{- if and .Values.externalRedis.password (not .Values.externalRedis.existingSecret) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "argo-cd.redis.fullname" . }}
|
|
labels:
|
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
|
{{- with .Values.externalRedis.secretAnnotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4}}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
redis-password: {{ .Values.externalRedis.password | b64enc }}
|
|
{{- end }}
|