Skip to content

Commit

Permalink
feat: remove yurtadm init command
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Deng <283304489@qq.com>
  • Loading branch information
YTGhost committed Jun 12, 2023
1 parent 5fa5adb commit 3148155
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 341 deletions.
2 changes: 0 additions & 2 deletions pkg/yurtadm/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
"github.com/openyurtio/openyurt/pkg/yurtadm/cmd/renew"
"github.com/openyurtio/openyurt/pkg/yurtadm/cmd/reset"
"github.com/openyurtio/openyurt/pkg/yurtadm/cmd/token"
"github.com/openyurtio/openyurt/pkg/yurtadm/cmd/yurtinit"
)

// NewYurtadmCommand creates a new yurtadm command
Expand All @@ -46,7 +45,6 @@ func NewYurtadmCommand() *cobra.Command {
setVersion(cmds)
// add kubeconfig to persistent flags
cmds.PersistentFlags().String("kubeconfig", "", "The path to the kubeconfig file")
cmds.AddCommand(yurtinit.NewCmdInit())
cmds.AddCommand(join.NewCmdJoin(os.Stdin, os.Stdout, os.Stderr))
cmds.AddCommand(reset.NewCmdReset(os.Stdin, os.Stdout, os.Stderr))
cmds.AddCommand(token.NewCmdToken(os.Stdin, os.Stdout, os.Stderr))
Expand Down
248 changes: 0 additions & 248 deletions pkg/yurtadm/cmd/yurtinit/init.go

This file was deleted.

91 changes: 0 additions & 91 deletions pkg/yurtadm/cmd/yurtinit/options.go

This file was deleted.

0 comments on commit 3148155

Please sign in to comment.