# helm_charts_nfs-server-gce-pv.yaml
{{- if .Values.enableExampleNFS }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: {{ include "nfs.fullname" . }}
  labels:
    app.kubernetes.io/name: {{ include "nfs.name" . }}
    helm.sh/chart: {{ include "nfs.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
  accessModes: [ "ReadWriteOnce" ]
  resources:
    requests:
      storage: {{ .Values.gceStorage }}
{{- end }}