File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
cmd/kubeadm/app/cmd/alpha Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import (
20
20
"io"
21
21
22
22
"github.com/spf13/cobra"
23
- cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
24
23
)
25
24
26
25
// NewCmdAlpha returns "kubeadm alpha" command.
@@ -34,20 +33,5 @@ func NewCmdAlpha(in io.Reader, out io.Writer) *cobra.Command {
34
33
cmd .AddCommand (newCmdKubeConfigUtility (out ))
35
34
cmd .AddCommand (NewCmdSelfhosting (in ))
36
35
37
- // TODO: This command should be removed as soon as the kubeadm init phase refactoring is completed.
38
- // current phases implemented as cobra.Commands should become workflow.Phases, while other utilities
39
- // hosted under kubeadm alpha phases command should found a new home under kubeadm alpha (without phases)
40
- cmd .AddCommand (newCmdPhase (out ))
41
-
42
- return cmd
43
- }
44
-
45
- func newCmdPhase (out io.Writer ) * cobra.Command {
46
- cmd := & cobra.Command {
47
- Use : "phase" ,
48
- Short : "Invoke subsets of kubeadm functions separately for a manual install" ,
49
- Long : cmdutil .MacroCommandLongDescription ,
50
- }
51
-
52
36
return cmd
53
37
}
You can’t perform that action at this time.
0 commit comments