Skip to content

Conversation

@bigkevmcd
Copy link
Contributor

@bigkevmcd bigkevmcd commented Oct 23, 2025

Issue:

Problem

Rancher dropped support for RKE1 in June 2025 - the terraform provider still provides resources for these - they will not work with Rancher 2.13.

Bumping the provider to use a newer version of Rancher fails to compile because the structs that these resources depend on have been removed.

The v3.User struct also dropped the .State field which the rancher2_user resource was relying on, this has been dropped.

This is the bug reported in #1688

Solution

This is a bare minimum removal, the minimal amount of code to get it to compile with the latest rancher is removed.

Testing

Engineering Testing

Manual Testing

Automated Testing

QA Testing Considerations

Regressions Considerations

@bigkevmcd bigkevmcd force-pushed the drop-rke1-resources branch from 2788c83 to fa8b904 Compare October 24, 2025 07:23
@bigkevmcd bigkevmcd marked this pull request as ready for review October 27, 2025 16:09
@bigkevmcd bigkevmcd requested a review from matttrach October 27, 2025 16:09
@bigkevmcd bigkevmcd mentioned this pull request Oct 28, 2025
@snasovich snasovich requested a review from a team October 30, 2025 16:24
Copy link

@vardhaman22 vardhaman22 left a comment

Choose a reason for hiding this comment

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

just one question.
overall LGTM.

This drops the resources that no-longer have a struct in Rancher.

This removes the functionality from RKE1 from the terraform provider.
@bigkevmcd bigkevmcd self-assigned this Nov 4, 2025
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.

2 participants