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

fix: add RemoteCluster cluster-wide role for controller-manager (#4417) #4419

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

miedzinski
Copy link
Contributor

What problem does this PR solve?

Fixes missing controller-manager role for RemoteClusters when clusterScoped is false.

Close #4417

What's changed and how it works?

Added chaos-mesh.org/remoteclusters to chaos-controller-manager-cluster-level cluster role.

Related changes

  • This change also requires further updates to the website (e.g. docs)
  • This change also requires further updates to the UI interface

Cherry-pick to release branches (optional)

This PR should be cherry-picked to the following release branches:

  • release-2.6
  • release-2.5

Checklist

CHANGELOG

Must include at least one of them.

  • I have updated the CHANGELOG.md
  • I have labeled this PR with "no-need-update-changelog"

Tests

Must include at least one of them.

  • Unit test
  • E2E test
  • Manual test

Side effects

  • Breaking backward compatibility

DCO

If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it:

git commit --amend --signoff
git push --force

…s-mesh#4417)

Signed-off-by: Dominik Miedziński <dominik.miedzinski@allegro.com>
Signed-off-by: Dominik Miedziński <dominik.miedzinski@allegro.com>
Copy link
Member

@STRRL STRRL left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@STRRL
Copy link
Member

STRRL commented May 28, 2024

Thanks!

@miedzinski
Copy link
Contributor Author

@STRRL how can we proceed with this? Integration tests are failing, but I believe it's unrelated to my change.

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.

controller-manager can't access RemoteCluster due to namespaced role
2 participants