diff --git a/cmd/cluster/cluster.go b/cmd/cluster/cluster.go index 707ae8691..5643cf424 100644 --- a/cmd/cluster/cluster.go +++ b/cmd/cluster/cluster.go @@ -38,8 +38,6 @@ func NewClusterCommand(cfgFactory config.Factory) *cobra.Command { Long: clusterLong[1:], } - clusterRootCmd.AddCommand(NewInitCommand(cfgFactory)) - clusterRootCmd.AddCommand(NewMoveCommand(cfgFactory)) clusterRootCmd.AddCommand(NewStatusCommand(cfgFactory)) clusterRootCmd.AddCommand(resetsatoken.NewResetCommand(cfgFactory)) clusterRootCmd.AddCommand(checkexpiration.NewCheckCommand(cfgFactory)) diff --git a/cmd/cluster/testdata/TestNewClusterCommandGoldenOutput/cluster-cmd-with-help.golden b/cmd/cluster/testdata/TestNewClusterCommandGoldenOutput/cluster-cmd-with-help.golden index 0448597b1..6bf069357 100644 --- a/cmd/cluster/testdata/TestNewClusterCommandGoldenOutput/cluster-cmd-with-help.golden +++ b/cmd/cluster/testdata/TestNewClusterCommandGoldenOutput/cluster-cmd-with-help.golden @@ -8,9 +8,7 @@ Available Commands: check-certificate-expiration Check for expiring TLS certificates, secrets and kubeconfigs in the kubernetes cluster get-kubeconfig Retrieve kubeconfig for a desired cluster help Help about any command - init Deploy cluster-api provider components list Retrieve the list of defined clusters - move Move Cluster API objects, provider specific objects and all dependencies to the target cluster rotate-sa-token Rotate tokens of Service Accounts status Retrieve statuses of deployed cluster components diff --git a/docs/source/cli/airshipctl_cluster.md b/docs/source/cli/airshipctl_cluster.md index d7802462e..d2d18ea7d 100644 --- a/docs/source/cli/airshipctl_cluster.md +++ b/docs/source/cli/airshipctl_cluster.md @@ -26,9 +26,7 @@ such as getting status and deploying initial infrastructure. * [airshipctl](airshipctl.md) - A unified entrypoint to various airship components * [airshipctl cluster check-certificate-expiration](airshipctl_cluster_check-certificate-expiration.md) - Check for expiring TLS certificates, secrets and kubeconfigs in the kubernetes cluster * [airshipctl cluster get-kubeconfig](airshipctl_cluster_get-kubeconfig.md) - Retrieve kubeconfig for a desired cluster -* [airshipctl cluster init](airshipctl_cluster_init.md) - Deploy cluster-api provider components * [airshipctl cluster list](airshipctl_cluster_list.md) - Retrieve the list of defined clusters -* [airshipctl cluster move](airshipctl_cluster_move.md) - Move Cluster API objects, provider specific objects and all dependencies to the target cluster * [airshipctl cluster rotate-sa-token](airshipctl_cluster_rotate-sa-token.md) - Rotate tokens of Service Accounts * [airshipctl cluster status](airshipctl_cluster_status.md) - Retrieve statuses of deployed cluster components