forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow edit/admin user to create migration via virtctl
Add `virtualmachines/migrate` resource to edit and admin clusterrole. Edit and admin users was able to create a virtualmachineinstacemigration posting a CR, but was not authorized using `virtctl migrate <vm-name>`` returning 'User <name> cannot update resource "virtualmachines/migrate" in API group "subresources.kubevirt.io" in the namespace <namespace>'. This happens because edit and admin user was not granted to make requests to the subresource "virtualmachines/migrate" of "subresources.kubevirt.io" Signed-off-by: fossedihelm <[email protected]>
- Loading branch information
1 parent
898b82a
commit a1e9c65
Showing
3 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters