Skip to content

Commit

Permalink
Set no permission check for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
iychoi committed Jul 27, 2022
1 parent 1897182 commit 5f97821
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ func (i *Internal) getPersistentVolumes(ctx context.Context, job *model.Job) ([]
Driver: csiDriverName,
VolumeHandle: i.getCSIDataVolumeHandle(job),
VolumeAttributes: map[string]string{
"client": "irodsfuse",
"path_mapping_json": string(dataPathMappingsJSONBytes),
"client": "irodsfuse",
"path_mapping_json": string(dataPathMappingsJSONBytes),
"no_permission_check": "true",
// use proxy access
"clientUser": job.Submitter,
"uid": fmt.Sprintf("%d", job.Steps[0].Component.Container.UID),
Expand Down

0 comments on commit 5f97821

Please sign in to comment.