Skip to content

Commit

Permalink
Add allow_other option to fix the non-root user access denied issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Misagh committed Feb 17, 2023
1 parent 422fe5c commit d22fa93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion helm/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ spec:
containers:
- name: mounter
image: otomato/goofys
command: ["./goofys", "-f", "{{ .Values.bucketName }}", "{{ .Values.mountPath }}"]
command: {{ .Values.commandOption }}
args: ["{{ .Values.bucketName }}", "{{ .Values.mountPath }}"]
securityContext:
privileged: true
volumeMounts:
Expand Down
3 changes: 2 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ bucketName: my-bucket
iamRoleARN: my-role
mountPath: /var/s3
hostPath: /mnt/s3data

# This is a variable to customize the command and mange options
commandOption: ["./goofys", "-f"]

0 comments on commit d22fa93

Please sign in to comment.