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

update MCO cluster role for imagestreams #1594

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Conversation

coleenquadros
Copy link
Contributor

@coleenquadros coleenquadros commented Aug 29, 2024

Initial commit for -> #1587
Since Cluster role is Managed by MCH. It needs to get updated here first. -> https://github.com/stolostron/multiclusterhub-operator/blob/main/pkg/templates/charts/toggle/multicluster-observability-operator/templates/multicluster-observability-operator-clusterrole.yaml

This is to prevent the MCO operator from failing to come up due to permission

E0829 09:17:02.982625       1 reflector.go:158] "Unhandled Error" err="pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: Failed to watch *v1.ImageStream: failed to list *v1.ImageStream: imagestreams.image.openshift.io is forbidden: User \"system:serviceaccount:open-cluster-management:multicluster-observability-operator\" cannot list resource \"imagestreams\" in API group \"image.openshift.io\" at the cluster scope" logger="UnhandledError"
W0829 09:17:33.904106       1 reflector.go:561] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:243: failed to list *v1.ImageStream: imagestreams.image.openshift.io is forbidden: User "system:serviceaccount:open-cluster-management:multicluster-observability-operator" cannot list resource "imagestreams" in API group "image.openshift.io" at the cluster scope

@coleenquadros coleenquadros changed the title update cluster role for imagestreams update MCO cluster role for imagestreams Aug 29, 2024
Copy link

Copy link
Contributor

@philipgough philipgough left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Aug 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: coleenquadros, philipgough

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [coleenquadros,philipgough]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm label Aug 29, 2024
Copy link

openshift-ci bot commented Aug 29, 2024

New changes are detected. LGTM label has been removed.

@coleenquadros coleenquadros merged commit b5787ba into main Aug 29, 2024
10 of 21 checks passed
@coleenquadros coleenquadros deleted the update_cluster_role branch August 29, 2024 13:26
JoaoBraveCoding pushed a commit to JoaoBraveCoding/multicluster-observability-operator that referenced this pull request Sep 9, 2024
* update cluster role for imagestreams

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update cluster role for imagestreams

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update cluster role for imagestreams

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
JoaoBraveCoding pushed a commit to JoaoBraveCoding/multicluster-observability-operator that referenced this pull request Sep 9, 2024
* update cluster role for imagestreams

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update cluster role for imagestreams

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update cluster role for imagestreams

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants