github.com/argoproj/argo-cd@v1.8.7/util/helm/testdata/helm2-dependency/templates/secrets.yaml (about) 1 apiVersion: v1 2 kind: Secret 3 metadata: 4 name: {{ template "fullname" . }} 5 labels: 6 app: {{ template "fullname" . }} 7 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" 8 release: "{{ .Release.Name }}" 9 heritage: "{{ .Release.Service }}" 10 type: Opaque 11 data: 12 {{ if .Values.wordpressPassword }} 13 wordpress-password: {{ default "" .Values.wordpressPassword | b64enc | quote }} 14 {{ else }} 15 wordpress-password: {{ randAlphaNum 10 | b64enc | quote }} 16 {{ end }} 17 smtp-password: {{ default "" .Values.smtpPassword | b64enc | quote }}