-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: opt out of cluster owner rbac #834
Merged
furkatgofurov7
merged 3 commits into
rancher:main
from
salasberryfin:rbac-issue-cluster-owner
Nov 14, 2024
Merged
feat: opt out of cluster owner rbac #834
furkatgofurov7
merged 3 commits into
rancher:main
from
salasberryfin:rbac-issue-cluster-owner
Nov 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
salasberryfin
added
kind/enhancement
Categorizes issue or PR as related to a new feature.
area/rbac
labels
Oct 31, 2024
salasberryfin
changed the title
Rbac issue cluster owner
WIP: opt out of cluster owner rbac
Oct 31, 2024
salasberryfin
added
kind/enhancement
Categorizes issue or PR as related to a new feature.
and removed
kind/enhancement
Categorizes issue or PR as related to a new feature.
labels
Oct 31, 2024
salasberryfin
force-pushed
the
rbac-issue-cluster-owner
branch
from
October 31, 2024 18:41
0ccb61a
to
7461257
Compare
salasberryfin
added
kind/enhancement
Categorizes issue or PR as related to a new feature.
and removed
kind/enhancement
Categorizes issue or PR as related to a new feature.
labels
Oct 31, 2024
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
salasberryfin
force-pushed
the
rbac-issue-cluster-owner
branch
from
November 4, 2024 08:55
7461257
to
733e176
Compare
salasberryfin
changed the title
WIP: opt out of cluster owner rbac
opt out of cluster owner rbac
Nov 4, 2024
salasberryfin
changed the title
opt out of cluster owner rbac
feat: opt out of cluster owner rbac
Nov 4, 2024
furkatgofurov7
approved these changes
Nov 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, thanks for taking care of it, LGTM.
@JonCrowther possibly, if you could also take a look that would be great.
JonCrowther
approved these changes
Nov 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Preparing for new Rancher release that will include a feature that allows to bypass setting a creator owner on the resource. Import controller now adds the annotation
field.cattle.io/no-creator-rbac
on any Rancher clusters it reconciles. This will apply to newly created clusters and to existing ones that are subject to reconciliation.You can take a look at rancher/rancher#47259, where this new option is introduced.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Also updates E2E and import controller tests to check that clusters are properly annotated.
After this is merged, we'll have to wait until next Rancher minor release to consider this as done
Checklist: