Skip to content

Commit

Permalink
Resolve #416 add reclaim policy to efs storage classes in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Plausin committed Apr 20, 2021
1 parent d4f2e0c commit 1da8749
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/aws-efs-csi-driver/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ provisioner: efs.csi.aws.com
mountOptions:
{{ toYaml . }}
{{- end }}
{{- if .reclaimPolicy }}
reclaimPolicy: {{ .reclaimPolicy }}
{{- end }}
{{- with .parameters }}
parameters:
{{ toYaml . | indent 2 }}
Expand Down
1 change: 1 addition & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ storageClasses: []
# - name: efs-sc
# mountOptions:
# - tls
# reclaimPolicy: Delete
# parameters:
# provisioningMode: efs-ap
# fileSystemId: fs-1122aabb
Expand Down

0 comments on commit 1da8749

Please sign in to comment.