github.com/argoproj/argo-cd@v1.8.7/util/helm/testdata/helm2-dependency/templates/externaldb-secrets.yaml (about)

     1  {{- if not .Values.mariadb.enabled }}
     2  apiVersion: v1
     3  kind: Secret
     4  metadata:
     5    name: {{ printf "%s-%s" .Release.Name "externaldb"  }}
     6    labels:
     7      app: {{ printf "%s-%s" .Release.Name "externaldb"  }}
     8      chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
     9      release: "{{ .Release.Name }}"
    10      heritage: "{{ .Release.Service }}"
    11  type: Opaque
    12  data:
    13    db-password: {{ .Values.externalDatabase.password | b64enc | quote }}
    14  {{- end }}