Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add needed permissions list to use this command #152

Open
mateusz94 opened this issue Feb 11, 2022 · 2 comments
Open

Add needed permissions list to use this command #152

mateusz94 opened this issue Feb 11, 2022 · 2 comments

Comments

@mateusz94
Copy link

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.
@utkuozdemir
Copy link
Owner

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.

@fetidbell
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants