Repository navigation
fix(kueueviz): use plural workloadpriorityclasses in ClusterRole RBAC - #10977
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
|
Hi @cixuuz. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
The RBAC resources field requires the plural form of the resource name. The singular 'workloadpriorityclass' silently matches no resources, leaving the KueueViz backend unable to access WorkloadPriorityClass objects.
ed1814b to
cf5b9ec
Compare
|
/ok-to-test |
|
Thank you 👍 |
|
@mimowo: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
LGTM label has been added. DetailsGit tree hash: 01a763cbe8d9e20c207a05a166550abb30ab4e7f |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cixuuz, mimowo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@mimowo: new pull request created: #10984 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@mimowo: new pull request created: #10985 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/kind bug |
…AC (kubernetes-sigs#10977) The RBAC resources field requires the plural form of the resource name. The singular 'workloadpriorityclass' silently matches no resources, leaving the KueueViz backend unable to access WorkloadPriorityClass objects.
|
/release-note-edit |
…AC (kubernetes-sigs#10977) The RBAC resources field requires the plural form of the resource name. The singular 'workloadpriorityclass' silently matches no resources, leaving the KueueViz backend unable to access WorkloadPriorityClass objects.
What
Fixes the KueueViz ClusterRole to use the plural form
workloadpriorityclassesinstead of the singularworkloadpriorityclassin the RBAC resources field.Why
Kubernetes RBAC
resourcesrequires the plural form of the resource name. The singular form silently matches nothing, so the KueueViz backend has no access toWorkloadPriorityClassobjects.The main controller role in
templates/rbac/role.yamlcorrectly uses the plural form — this was just missed in the KueueViz clusterrole.Changes
config/components/kueueviz/clusterrole.yaml:workloadpriorityclass→workloadpriorityclassescharts/kueue/templates/kueueviz/clusterrole.yaml: same fix in the generated Helm template