kubeasz/manifests/redis-cluster/redis-ha/templates/redis-auth-secret.yaml

12 lines
279 B
YAML
Raw Normal View History

2019-01-30 21:23:17 +08:00
{{- if and .Values.auth (not .Values.existingSecret) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "redis-ha.fullname" . }}
labels:
{{ include "labels.standard" . | indent 4 }}
type: Opaque
data:
auth: {{ .Values.redisPassword | b64enc | quote }}
{{- end -}}