From 52e62a73d836599d603896b2f1e45e9b9ad4cb28 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 30 Jan 2019 00:03:51 +0200 Subject: [PATCH] kubeadm: fix missing 'all' in 'init phase control-plane' --- cmd/kubeadm/app/cmd/phases/controlplane.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/kubeadm/app/cmd/phases/controlplane.go b/cmd/kubeadm/app/cmd/phases/controlplane.go index 36cd706c545..163b337af88 100644 --- a/cmd/kubeadm/app/cmd/phases/controlplane.go +++ b/cmd/kubeadm/app/cmd/phases/controlplane.go @@ -34,10 +34,10 @@ var ( controlPlaneExample = normalizer.Examples(` # Generates all static Pod manifest files for control plane components, # functionally equivalent to what is generated by kubeadm init. - kubeadm init phase control-plane + kubeadm init phase control-plane all # Generates all static Pod manifest files using options read from a configuration file. - kubeadm init phase control-plane --config config.yaml + kubeadm init phase control-plane all --config config.yaml `) controlPlanePhaseProperties = map[string]struct { @@ -80,6 +80,7 @@ func NewControlPlanePhase() workflow.Phase { Name: "all", Short: "Generates all static Pod manifest files", InheritFlags: getControlPlanePhaseFlags("all"), + Example: controlPlaneExample, RunAllSiblings: true, }, newControlPlaneSubPhase(kubeadmconstants.KubeAPIServer),