pv-migrate icon indicating copy to clipboard operation
pv-migrate copied to clipboard

Add needed permissions list to use this command

Open mateusz94 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I had to migrate pvc from old namespace to new namespace. I wanted to do it with pv-migrate, but I could not due to lack of permissions. The problem was I did not know about the missing permissions because pv-migrate did not log it.

Describe the solution you'd like

  1. Create file like: https://github.com/up9inc/mizu/blob/main/docs/PERMISSIONS.md

Describe alternatives you've considered

  1. pv-migrate should log lack of permission.

mateusz94 avatar Feb 11 '22 15:02 mateusz94

Thanks for reporting. It is a good point, I'll think about how it can be solved.

Some part of the problem is the logging - I think some error messages might not be displayed. Will do some tests to see if there's such case.

Some things indeed require documentation such as requiring to run as root if PSPs are enabled.

I'll look into it.

utkuozdemir avatar Feb 11 '22 23:02 utkuozdemir

Hi @utkuozdemir , thank you for creating this tool, it's very useful! May I ask if there any updates on this issue? It's still very unclear what permission should be provided to execute pv-migrate tool, and there is no useful info about it in log output. Thank you!

fetidbell avatar Jul 29 '22 10:07 fetidbell