File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/examples/kubernetes/static_provisioning/README.md
2+ {{- if and (.Values.postgresclusterNFSStaticPV.enabled) (.Values.postgrescluster.enabled) }}
3+ ---
4+ apiVersion : v1
5+ kind : PersistentVolume
6+ metadata :
7+ name : efs-pv
8+ spec :
9+ capacity :
10+ storage : 300Mi
11+ volumeMode : Filesystem
12+ accessModes :
13+ - ReadWriteMany
14+ persistentVolumeReclaimPolicy : Retain
15+ storageClassName : {{ .Values.postgresclusterNFSStaticPV.storageClassName }}
16+ csi :
17+ driver : efs.csi.aws.com
18+ volumeHandle : {{ .Values.postgresclusterNFSStaticPV.volumeHandle }}
19+ {{- end }}
Original file line number Diff line number Diff line change 9898 PGPASSWORD : " "
9999 PGDATABASE : " postgis"
100100
101+ # on AWS we use the EBS and EFS CSI drivers that dynamically create
102+ # and mount storage on request via PVC(s) but for NFS
103+ # the EFS CSI driver by default creates mounts with access points
104+ # that restrict read/write permissions to the uid:gid of the mount.
105+ # in simple cases we don't want to have to think about this extra layer for NFS
106+ # and this is a workaround to mount a static NFS without access points.
107+ # NOTE: GCP and other IaC haven't been set up to use NFS yet
108+ postgresclusterNFSStaticPV :
109+ enabled : false
110+ storageClassName : " "
111+ volumeHandle : " "
112+
101113# this is declared as a dependency of eoapi in helm-chart/eoapi/Chart.yaml
102114postgrescluster :
103115 enabled : true
You can’t perform that action at this time.
0 commit comments