2021-03-24 11:11:47 +00:00
|
|
|
{{- range .Values.storageClasses }}
|
|
|
|
kind: StorageClass
|
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: {{ .name }}
|
2021-07-01 14:41:31 +00:00
|
|
|
{{- with .annotations }}
|
|
|
|
annotations:
|
|
|
|
{{ toYaml . | indent 4 }}
|
|
|
|
{{- end }}
|
2021-03-24 11:11:47 +00:00
|
|
|
provisioner: efs.csi.aws.com
|
|
|
|
{{- with .mountOptions }}
|
2021-07-01 14:41:31 +00:00
|
|
|
mountOptions:
|
2021-03-24 11:11:47 +00:00
|
|
|
{{ toYaml . }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .parameters }}
|
|
|
|
parameters:
|
|
|
|
{{ toYaml . | indent 2 }}
|
|
|
|
{{- end }}
|
2021-07-01 14:41:31 +00:00
|
|
|
{{- with .reclaimPolicy }}
|
|
|
|
reclaimPolicy: {{ . }}
|
2021-03-24 11:11:47 +00:00
|
|
|
{{- end }}
|
2021-07-01 14:41:31 +00:00
|
|
|
{{- with .volumeBindingMode }}
|
|
|
|
volumeBindingMode: {{ . }}
|
|
|
|
{{- end }}
|
|
|
|
---
|
|
|
|
{{- end }}
|