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

     1  {{- if .Values.ingress.enabled }}
     2  {{- range .Values.ingress.secrets }}
     3  apiVersion: v1
     4  kind: Secret
     5  metadata:
     6    name: {{ .name }}
     7    labels:
     8      app: {{ template "fullname" $ }}
     9      chart: "{{ $.Chart.Name }}-{{ $.Chart.Version }}"
    10      release: "{{ $.Release.Name }}"
    11      heritage: "{{ $.Release.Service }}"
    12  type: kubernetes.io/tls
    13  data:
    14    tls.crt: {{ .certificate | b64enc }}
    15    tls.key: {{ .key | b64enc }}
    16  ---
    17  {{- end }}
    18  {{- end }}