From 5f97821176acb61fceb73e79174526cf88d11ba1 Mon Sep 17 00:00:00 2001 From: Illyoung Choi Date: Tue, 26 Jul 2022 16:18:46 -0700 Subject: [PATCH] Set no permission check for performance --- internal/volumes.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/volumes.go b/internal/volumes.go index 1fcee55..40bdba3 100644 --- a/internal/volumes.go +++ b/internal/volumes.go @@ -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),