Skip to content

Commit

Permalink
Add iam mount option while deleting Access Point root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik Basavaraj committed Apr 22, 2021
1 parent db05508 commit bd86996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (d *Driver) DeleteVolume(ctx context.Context, req *csi.DeleteVolumeRequest)
}

//Mount File System at it root and delete access point root directory
mountOptions := []string{"tls"}
mountOptions := []string{"tls", "iam"}
target := TempMountPathPrefix + "/" + accessPointId
if err := d.mounter.MakeDir(target); err != nil {
return nil, status.Errorf(codes.Internal, "Could not create dir %q: %v", target, err)
Expand Down

0 comments on commit bd86996

Please sign in to comment.