Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Remove hyperkube migration #1367

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions pkg/skuba/actions/node/upgrade/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ func Apply(client clientset.Interface, target *deployments.Target) error {
return errors.Wrap(err, "error adding target information to init configuration")
}

// Upgrade 1.17 to 1.18.
// This updated UseHyperKube field in-memory (unsets it).
// Note: The cluster cm is uploaded at the end of the kubeadm process, as usual.
// The whole paragraph can be removed when upgrading from 1.17 is removed.
if currentClusterVersion.Minor() == 17 {
initCfg.UseHyperKubeImage = false
}

kubeadm.UpdateClusterConfigurationWithClusterVersion(initCfg, nodeVersionInfoUpdate.Update.APIServerVersion)
initCfgContents, err = kubeadmconfigutil.MarshalInitConfigurationToBytes(initCfg, schema.GroupVersion{
Group: "kubeadm.k8s.io",
Expand Down