in airGapped mode, ensure that the desired k8s version is used #297
Labels
area/bootstrap
Indicates an issue or PR related to the bootstrap provider
kind/feature
New feature or request
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
We noticed while developing Sylva that, in airGapped mode (
spec.agentConfig.airGapped: true
), the combination of RKE2 bootstrap provider and RK2 itself will result in using _whatever version of RKE2 is present in/opt/rke2-artifacts
, even if this version does not matchspec.agentConfig.version
.It creates a risk of unintendedly using an undesired version, and possibly unintendedly upgrading or downgrading, if the OS image is not selected carefully.
A safer behavior for air-gapped mode would be to abort RKE2 installation if the RKE2 version that can be found on disk does not match
spec.agentConfig.version
./cc @richardcase
The text was updated successfully, but these errors were encountered: