Merge pull request #78585 from neolit123/kubeadm-fix-upgrade-node

kubeadm: fix conditional control-plane upgrade
This commit is contained in:
Kubernetes Prow Robot 2019-06-02 03:02:14 -07:00 committed by GitHub
commit 79dc1d4c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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