diff --git a/pkg/driver/provisioner.go b/pkg/driver/provisioner.go index b340e34..470a9d7 100644 --- a/pkg/driver/provisioner.go +++ b/pkg/driver/provisioner.go @@ -164,6 +164,11 @@ func (s *provisionerServer) DriverDeleteBucket( func (s *provisionerServer) revokeBucketAccess(ctx context.Context, userId string) error { err := s.configureS3Access(ctx, userId, "", "", nil, true) if err != nil { + // Check if the error is because the entry was not found + if grpc.Code(err) == codes.NotFound { + klog.InfoS("no entry found in filer store, treating as success", "user", userId) + return nil + } return err }