TrueChartsCatalogClone/dependency/redis/1.0.37/templates/secret.yaml

14 lines
345 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
type: Opaque
data:
redis-password: {{ ( .Values.redisPassword | default "nothing" ) | b64enc | quote }}