pv-migrate
pv-migrate copied to clipboard
Add needed permissions list to use this command
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
- Create file like: https://github.com/up9inc/mizu/blob/main/docs/PERMISSIONS.md
Describe alternatives you've considered
- pv-migrate should log lack of permission.
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.
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!