-
Notifications
You must be signed in to change notification settings - Fork 192
When rke2_channel is defined, set rke2_version to the latest version from there #347
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
base: main
Are you sure you want to change the base?
Conversation
It's not ready yet, it still seems to give:
|
Now it works - tested ok on my cluster. @MonolithProjects |
@simonfelding |
Yes, you need to set |
…anymore. has the added bonus effect of not doing the "Rolling cordon and drain restart when version changes " every time, if you use channel. has the "advantage" of now preferring channel over rke2_version, meaning the default value doesn't have to be updated.
I made a new patch that makes everything simpler. Now you don't need to think about channel anymore when coding checks for version. It has the added bonus effect of not doing the "Rolling cordon and drain restart when version changes" tasks every time when you use channel. Also has the advantage of now preferring channel over rke2_version, meaning the default value doesn't have to be updated, as well has working with the existing code for avoiding downgrades (and future code that relies on rke2_version).
|
I think it's better to uncomment the rke2_channel version by default so we don't surprise anyone who didn't realize that |
I'm done testing it, works as expected :) As a user, I'm really enjoying this. My tests run much faster now. |
Hi @simonfelding. Thx, it is a nice feature. However I guess it would be better if the latest version from the selected channel would be used only if the variable |
Description
Currently, if rke2_channel is defined and rke2_version is undefined (so we use the channel version for updating) then it fails with this error:
Type of change
How Has This Been Tested?
I ran the code on my own cluster.