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

Permit turtles controller to access the cluster #804

Merged

Conversation

Danil-Grigorev
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev commented Oct 24, 2024

What this PR does / why we need it:

Our controller is not currently allowed to create ETCDMachineSnapshot due to lack of permissions from the SAR point of view.

It is easy to identify the controller by the use of our ServiceAccount:

system:serviceaccount:rancher-turtles-system:rancher-turtles-etcdsnapshotrestore-manager

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #768

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Danil-Grigorev Danil-Grigorev requested a review from a team as a code owner October 24, 2024 09:38
furkatgofurov7
furkatgofurov7 previously approved these changes Oct 24, 2024
Copy link
Contributor

@furkatgofurov7 furkatgofurov7 left a comment

Choose a reason for hiding this comment

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

Thanks

Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
@furkatgofurov7 furkatgofurov7 merged commit 048e7fb into rancher:main Oct 25, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow automatic creation of ETCDMachineSnapshot via controller
3 participants