[Backport v2.6] [BUG] Updating internal server URL, internal server CA, and user token invalidates CAPI kubeconfig secret #40742
Labels
area/capr/rke2
RKE2 Provisioning issues involving CAPR
area/provisioning-v2
Provisioning issues that are specific to the provisioningv2 generating framework
kind/bug
Issues that are defects reported by users or that we know have reached a real release
team/area3
team/hostbusters
The team that is responsible for provisioning/managing downstream clusters + K8s version support
Milestone
This is a backport issue for #40741, automatically created via rancherbot by @Oats87
Original issue description:
Rancher Server Setup
Describe the bug
When updating the internal server URL, internal server CA, and/or Rancher token for a given v2prov cluster, the CAPI kubeconfig secret becomes outdated because Rancher relies on the old version of the secret.
To Reproduce
Set up a Rancher installation
Create a v2prov cluster and wait for it to provision
Update the internal server URL, internal server CA, and/or delete/modify the user token that corresponds with the kubeconfig secret of the cluster
Result
Observe the kubeconfig secret is not updated
Expected Result
The kubeconfig secret should be updated
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: