diff --git a/pkg/minikube/bootstrapper/kubeadm/kubeadm.go b/pkg/minikube/bootstrapper/kubeadm/kubeadm.go index 5baf460eb6..ad0348aa40 100644 --- a/pkg/minikube/bootstrapper/kubeadm/kubeadm.go +++ b/pkg/minikube/bootstrapper/kubeadm/kubeadm.go @@ -328,6 +328,7 @@ func (k *Bootstrapper) applyCNI(cfg config.ClusterConfig) error { return nil } + register.Reg.SetStep(register.ConfiguringCNI) out.Step(style.CNI, "Configuring {{.name}} (Container Networking Interface) ...", out.V{"name": cnm.String()}) if err := cnm.Apply(k.c); err != nil { diff --git a/pkg/minikube/out/register/register.go b/pkg/minikube/out/register/register.go index 6b810b0e30..4e1c580bac 100644 --- a/pkg/minikube/out/register/register.go +++ b/pkg/minikube/out/register/register.go @@ -41,6 +41,7 @@ const ( PreparingKubernetesCerts RegStep = "Generating certificates" PreparingKubernetesControlPlane RegStep = "Booting control plane" PreparingKubernetesBootstrapToken RegStep = "Configuring RBAC rules" + ConfiguringCNI RegStep = "Configuring CNI" VerifyingKubernetes RegStep = "Verifying Kubernetes" EnablingAddons RegStep = "Enabling Addons" Done RegStep = "Done" @@ -85,6 +86,7 @@ func init() { PreparingKubernetesCerts, PreparingKubernetesControlPlane, PreparingKubernetesBootstrapToken, + ConfiguringCNI, ConfiguringLHEnv, VerifyingKubernetes, EnablingAddons, diff --git a/test/integration/json_output_test.go b/test/integration/json_output_test.go index 01dfa6feb3..3363754cf2 100644 --- a/test/integration/json_output_test.go +++ b/test/integration/json_output_test.go @@ -122,7 +122,7 @@ func validateIncreasingCurrentSteps(ctx context.Context, t *testing.T, ces []*cl } } -func TestJSONOutputError(t *testing.T) { +func TestErrorJSONOutput(t *testing.T) { profile := UniqueProfileName("json-output-error") ctx, cancel := context.WithTimeout(context.Background(), Minutes(2)) defer Cleanup(t, profile, cancel)