mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #78585 from neolit123/kubeadm-fix-upgrade-node
kubeadm: fix conditional control-plane upgrade
This commit is contained in:
commit
79dc1d4c49
@ -52,6 +52,7 @@ func runControlPlane() func(c workflow.RunData) error {
|
||||
// if this is not a control-plande node, this phase should not be executed
|
||||
if !data.IsControlPlaneNode() {
|
||||
fmt.Printf("[upgrade] Skipping phase. Not a control plane node")
|
||||
return nil
|
||||
}
|
||||
|
||||
// otherwise, retrieve all the info required for control plane upgrade
|
||||
|
Loading…
Reference in New Issue
Block a user