Skip to content

Commit

Permalink
Merge pull request #1510 from porter-dev/ym/efs_sc_custom_dir_perms
Browse files Browse the repository at this point in the history
chore: allow configuring custom directory perms on the efs volumes
  • Loading branch information
yosefmih authored Feb 26, 2025
2 parents a3727af + cb515fa commit 8d5ae3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/web/templates/efs-storage-class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ provisioner: efs.csi.aws.com
parameters:
provisioningMode: efs-ap
fileSystemId: {{ $v.fileSystemId }}
directoryPerms: "700"
directoryPerms: "{{ default "700" $v.directoryPerms }}"
reuseAccessPoint: "true"
---
apiVersion: v1
Expand All @@ -21,7 +21,7 @@ spec:
storageClassName: {{ include "docker-template.efsName" (dict "fullname" $.Values.fullnameOverride "index" $index) }}
resources:
requests:
storage: 5Gi
storage: {{ default "5Gi" $v.storageSize }}
---
{{- end }}
{{- end }}

0 comments on commit 8d5ae3d

Please sign in to comment.