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

Change RBAC cloud-controller-manager name #1095

Merged
merged 2 commits into from Jun 8, 2021

Conversation

dereknola
Copy link
Contributor

Proposed Changes

Changed the name of the rke2 cloud-controller-manager clusterrole to rke2-cloud-controller-manager to prevent conflicts with other external cloud providers role names.

Types of Changes

Bugfix

Verification

Spin up standard rke2 server:
kubectl get clusterrolebinding should now output rke2-cloud-controller-manager as a ClusterRoleBinding
kubectl get clusterrole should now output rke2-cloud-controller-manager as a ClusterRole

Linked Issues

#1009 Is the open RKE2 issue
k3s-io/k3s#3308 Is the K3s issue that triggered this change
k3s-io/k3s#3388 Is the PR associated with the K3s issue

Further Comments

Renamed cloud-controller-manager RBAC to rke2-cloud-controller in clusterrole_templates.go

Signed-off-by: dereknola <derek.nola@suse.com>
@dereknola dereknola requested a review from a team as a code owner June 3, 2021 23:22
@brandond
Copy link
Contributor

brandond commented Jun 8, 2021

I need to merge this before I can update k3s for #1112 and #1116

@brandond brandond changed the title [K3s Pull-Through] Change RBAC cloud-controller-manager name Change RBAC cloud-controller-manager name Jun 8, 2021
@brandond brandond merged commit f15246c into rancher:master Jun 8, 2021
@dereknola dereknola linked an issue Jun 9, 2021 that may be closed by this pull request
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.

Rename RBAC resources for K3s integrated cloud-controller-manager
3 participants