Skip to content

Conversation

@martindekov
Copy link
Contributor

@martindekov martindekov commented Oct 2, 2025

Adding new roles for:

  • longhorn.io - volumes/nodes/backingimages

This is because incoming validation changes for the blockdevices introduce new caches which require those privileges

Problem:

In order to validate the statuses of backing images and volumes related with blockdevices we had to introduce caches in PR: harvester/node-disk-manager#244 where those permissions are required

Solution:

Add the permissions to the node-disk-manager-webhook's cluster role

Related Issue(s):

harvester/harvester#3344

Test plan:

In PR: harvester/node-disk-manager#248

Additional documentation or context

N/A

Adding new roles for:
* longhorn.io - volumes/nodes/backingimages/replicas

This is because incoming validation changes for the
blockdevices introduce new caches which require those
privileges

Signed-off-by: Martin Dekov <martin.dekov@suse.com>
Copy link
Member

@WebberHuang1118 WebberHuang1118 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.
By the way, the link to the test plan associated with the PR has been closed.

@martindekov
Copy link
Contributor Author

By the way, the link to the test plan associated with the PR has been closed.

Good catch @WebberHuang1118, fixed ✔️

@martindekov martindekov merged commit 1e35536 into harvester:master Oct 23, 2025
5 checks passed
martindekov added a commit that referenced this pull request Oct 23, 2025
Adding new roles for:
* longhorn.io - volumes/nodes/backingimages/replicas

This is because incoming validation changes for the
blockdevices introduce new caches which require those
privileges

Signed-off-by: Martin Dekov <martin.dekov@suse.com>
Vicente-Cheng pushed a commit that referenced this pull request Oct 23, 2025
Adding new roles for:
* longhorn.io - volumes/nodes/backingimages/replicas

This is because incoming validation changes for the
blockdevices introduce new caches which require those
privileges

Signed-off-by: Martin Dekov <martin.dekov@suse.com>
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

Successfully merging this pull request may close these issues.

2 participants