Skip to content

Conversation

@jiaqiluo
Copy link
Member

Issue:

rancher/rancher#41010

Problem

As a new feature, Rancher will allow enabling or disabling version management for imported RKE2/K3s clusters.
A new annotation on the management v3 cluster object will be used to control the cluster-level setting.
Rancher Webhook will ensure that the annotation is correctly set on eligible clusters.

Please refer to the RFC for design details.

Solution

Please refer to the RFC for design details.
Alternatively, the changes are outlined in the pkg/resources/management.cattle.io/v3/cluster/Cluster.md file.

CheckList

  • Test

This PR was also validated by running the binary and pointing it to a Rancher setup.

  • Docs

@jiaqiluo jiaqiluo requested a review from a team as a code owner February 14, 2025 23:55
@jiaqiluo jiaqiluo requested a review from a team February 14, 2025 23:57
Copy link
Collaborator

@crobby crobby left a comment

Choose a reason for hiding this comment

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

Looks pretty good. Would be nice to add a test for mutator.go.

@jiaqiluo jiaqiluo force-pushed the support-version-management-main branch from 254c1d0 to 7ca9821 Compare February 18, 2025 18:01
@jiaqiluo jiaqiluo force-pushed the support-version-management-main branch from 7ca9821 to 16d917a Compare February 18, 2025 18:02
@jiaqiluo jiaqiluo requested a review from crobby February 18, 2025 18:09
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.

3 participants