Initial upgrade flow for control-plane
This commit is contained in:
@@ -111,7 +111,7 @@ func handleOSUpgradeLocked(ctx context.Context, clients *kube.Clients,
|
||||
"resolvedTarget", plan.ResolvedTarget,
|
||||
"steps", len(plan.Path),
|
||||
"currentVersion", buildinfo.KubeVersion,
|
||||
"fSHA256irstVersion", first.Version,
|
||||
"firstVersion", first.Version,
|
||||
"firstURL", first.URL,
|
||||
"size", first.Size,
|
||||
)
|
||||
@@ -126,7 +126,7 @@ func handleOSUpgradeLocked(ctx context.Context, clients *kube.Clients,
|
||||
|
||||
imageOptions := osimage.ApplyOptions{
|
||||
URL: first.URL,
|
||||
TargetPath: "/dev/mksaltpart",
|
||||
TargetPath: monov1alpha1.AltPartDeviceLink,
|
||||
ExpectedRawSHA256: imageSHA,
|
||||
ExpectedRawSize: first.Size,
|
||||
BufferSize: 6 * 1024 * 1024,
|
||||
|
||||
Reference in New Issue
Block a user