Skip to content

Conversation

@anmazzotti
Copy link
Contributor

What this PR does / why we need it:

This PR disables the Rancher driven k8s version management for CAPI imported Clusters.
This is needed to not confuse users with an upgrade process that's not relevant and does not apply to their CAPI Clusters.

As for other Cluster import features, this requires a re-import of the Cluster. It will only apply to newly imported Clusters.
There's no reconcile logic for updates.

There is also no official documentation for this annotation.
For reference just read through the source code following the same named global Setting: https://github.com/rancher/rancher/blob/v2.13.1/pkg/settings/setting.go#L404

Fixes rancher/rancher#50776

For the end user, the UI should now look like this:

Screenshot From 2026-01-19 16-44-50

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 #

Special notes for your reviewer:

Checklist:

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

@anmazzotti anmazzotti self-assigned this Jan 19, 2026
@anmazzotti anmazzotti requested a review from a team as a code owner January 19, 2026 15:50
@anmazzotti anmazzotti added area/import kind/enhancement Categorizes issue or PR as related to a new feature. labels Jan 19, 2026
@anmazzotti anmazzotti moved this to PR to be reviewed in CAPI / Turtles Jan 19, 2026
@kkaempf kkaempf added this to the v2.14.0 milestone Jan 19, 2026
salasberryfin
salasberryfin previously approved these changes Jan 19, 2026
Copy link
Contributor

@salasberryfin salasberryfin left a comment

Choose a reason for hiding this comment

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

Thanks @anmazzotti.

Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
@anmazzotti anmazzotti force-pushed the disable_imported_cluster_upgrade branch from 2ec8887 to 81c0412 Compare January 19, 2026 18:02
@alexander-demicev alexander-demicev merged commit 854f890 into rancher:main Jan 20, 2026
9 checks passed
@github-project-automation github-project-automation bot moved this from PR to be reviewed to Done in CAPI / Turtles Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/import kind/enhancement Categorizes issue or PR as related to a new feature.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[RFE] Allow disabling upgrade on imported Clusters

4 participants