github.com/argoproj/argo-cd@v1.8.7/util/helm/testdata/minio/templates/pvc.yaml (about)

     1  {{- if eq .Values.mode "standalone" }}
     2  {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
     3  apiVersion: v1
     4  kind: PersistentVolumeClaim
     5  metadata:
     6    name: {{ template "minio.fullname" . }}
     7    labels:
     8      app: {{ template "minio.name" . }}
     9      chart: {{ template "minio.chart" . }}
    10      release: {{ .Release.Name }}
    11      heritage: {{ .Release.Service }}
    12  spec:
    13  {{- if .Values.nasgateway.enabled }}
    14    selector:
    15      matchLabels:
    16        pv: {{ .Values.nasgateway.pv | quote }}
    17  {{- end }}
    18    accessModes:
    19      - {{ .Values.persistence.accessMode | quote }}
    20    resources:
    21      requests:
    22        storage: {{ .Values.persistence.size | quote }}
    23  {{- if .Values.persistence.storageClass }}
    24    storageClassName: {{ .Values.persistence.storageClass | quote }}
    25  {{- end }}
    26  {{- end }}
    27  {{- end }}