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

Minimal needed RBAC permissions #205

Closed
pastx opened this issue Nov 18, 2022 · 1 comment
Closed

Minimal needed RBAC permissions #205

pastx opened this issue Nov 18, 2022 · 1 comment

Comments

@pastx
Copy link

pastx commented Nov 18, 2022

First of all, thank you for this great tool!

I'm trying to deploy pv-migrate in a container in a restricted Kubernetes cluster. I'm trying to create minimal RBAC roles needed for a successful migration on the same cluster between two namespaces.

Is there any list or is there a way (better than going from one error to another) to understand what apiGroups, resources, and verbs are needed for each namespace?

Thank you.

@utkuozdemir
Copy link
Owner

Hi, thank you for reporting. This is actually a duplicate of #152 (comment) - I'll close this one and track it there.

But it is an indicator is that it is a problem many people are facing. I'll try to have a look into it.

In the meantime, you can have a look to the Helm chart: https://github.com/utkuozdemir/pv-migrate/tree/master/helm/pv-migrate/templates

These are the resources that might get created by pv-migrate - it also depends on the strategy and passed flags. Iy can give you an idea on what roles you might be missing.

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

2 participants