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

add rancher-k3s-upgrader 0.5.0 #589

Merged
merged 2 commits into from
May 15, 2023

Conversation

jiaqiluo
Copy link
Member

@jiaqiluo jiaqiluo commented May 12, 2023

Issue: rancher/rancher#41511

This PR adds a new version, 0.5.0, for the chart rancher-k3s-upgrader.
Noticeable change between 0.5.0 and 0.4.0 are:

  • bump the tag of the image rancher/system-upgrade-controller to v0.11.0
  • bump kubeVersion to 1.23 which is the minimum k8s version that Rancher v2.7.0 supports
  • fix the value of rancher_min_version. This did not cause any issues because v0.4.0 is available only in rancher 2.7.x

Test

The chart is tested local on a k3s 1.26.4 cluster.

> k version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.1", GitCommit:"4c9411232e10168d7b050c49a1b59f6df9d7ea4b", GitTreeState:"clean", BuildDate:"2023-04-14T13:14:41Z", GoVersion:"go1.20.3", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.4+k3s1", GitCommit:"8d0255af07e95b841952563253d27b0d10bd72f0", GitTreeState:"clean", BuildDate:"2023-04-20T00:33:13Z", GoVersion:"go1.19.8", Compiler:"gc", Platform:"linux/arm64"}

The helm chart is installed successfully with setting global.cattle.psp.enabeld=false

>  helm install rancher-k3s-upgrade --set global.cattle.psp.enabeld=false  .
NAME: rancher-k3s-upgrade
LAST DEPLOYED: Thu May 11 17:38:06 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
You have deployed the Rancher K3s Upgrader
Version: v0.11.0
Description: This controller enables a k3s or rke2 cluster to update itself by reacting to Plan CRs.
    Users do not need to manually upgrade this app. It will be automatically upgraded to the latest version when upgrading a cluster.

@jiaqiluo jiaqiluo requested a review from a team May 12, 2023 00:12
HarrisonWAffel
HarrisonWAffel previously approved these changes May 12, 2023
@HarrisonWAffel HarrisonWAffel requested a review from a team May 12, 2023 16:54
Copy link
Contributor

@Oats87 Oats87 left a comment

Choose a reason for hiding this comment

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

Per offline discussion, we should probably bump the "minor" version of the chart if we are going to be removing K8s version support for older versions.

@jiaqiluo jiaqiluo changed the title add rancher-k3s-upgrader 0.4.1 add rancher-k3s-upgrader 0.5.0 May 12, 2023
@jiaqiluo jiaqiluo requested a review from a team May 15, 2023 15:54
Copy link

@a-blender a-blender left a comment

Choose a reason for hiding this comment

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

LGTM

@jiaqiluo jiaqiluo merged commit a0121d8 into rancher:dev-v2.7 May 15, 2023
1 check passed
@jiaqiluo jiaqiluo deleted the rancker-k3s-upgrader branch May 15, 2023 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants