You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
When cluster manager in installed through OLM the clusterrole open-cluster-management:cluster-manager-placement:controller has not the addonplacementscores permission causing pod cluster-manager-placement-controllerto generate this error:
k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1alpha1.AddOnPlacementScore: failed to list *v1alpha1.AddOnPlacementScore: addonplacementscores.cluster.open-cluster-management.io is forbidden: User "system:serviceaccount:open-cluster-management-hub:cluster-manager-placement-controller-sa" cannot list resource "addonplacementscores" in API group "cluster.open-cluster-management.io" at the cluster scope
If the operator is installed through CLI the clusterrole contains the addonplacementscores permission
Proposal:
Add this commit into cluster role file for olm. Then you need to release a minor version 0.6.1
The text was updated successfully, but these errors were encountered:
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/test-infra repository.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
K8S Version: 1.21.2
OLM Version: 0.20.0
When cluster manager in installed through OLM the clusterrole
open-cluster-management:cluster-manager-placement:controller
has not theaddonplacementscores
permission causing podcluster-manager-placement-controller
to generate this error:If the operator is installed through CLI the clusterrole contains the
addonplacementscores
permissionProposal:
Add this commit into cluster role file for olm. Then you need to release a minor version
0.6.1
The text was updated successfully, but these errors were encountered: