Remove deprecated cluster init/move commands

Instead of these commands users should run apporopriate phase
linked to clusterctl executor

Relates-To: #463

Change-Id: Iecb7320668fa98cfe322cbf922eb77e9490acbdc
This commit is contained in:
Kostiantyn Kalynovskyi 2021-01-29 18:48:48 +00:00
parent abc8315828
commit b5b68b3d0f
3 changed files with 0 additions and 6 deletions

View File

@ -38,8 +38,6 @@ func NewClusterCommand(cfgFactory config.Factory) *cobra.Command {
Long: clusterLong[1:], Long: clusterLong[1:],
} }
clusterRootCmd.AddCommand(NewInitCommand(cfgFactory))
clusterRootCmd.AddCommand(NewMoveCommand(cfgFactory))
clusterRootCmd.AddCommand(NewStatusCommand(cfgFactory)) clusterRootCmd.AddCommand(NewStatusCommand(cfgFactory))
clusterRootCmd.AddCommand(resetsatoken.NewResetCommand(cfgFactory)) clusterRootCmd.AddCommand(resetsatoken.NewResetCommand(cfgFactory))
clusterRootCmd.AddCommand(checkexpiration.NewCheckCommand(cfgFactory)) clusterRootCmd.AddCommand(checkexpiration.NewCheckCommand(cfgFactory))

View File

@ -8,9 +8,7 @@ Available Commands:
check-certificate-expiration Check for expiring TLS certificates, secrets and kubeconfigs in the kubernetes cluster check-certificate-expiration Check for expiring TLS certificates, secrets and kubeconfigs in the kubernetes cluster
get-kubeconfig Retrieve kubeconfig for a desired cluster get-kubeconfig Retrieve kubeconfig for a desired cluster
help Help about any command help Help about any command
init Deploy cluster-api provider components
list Retrieve the list of defined clusters 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 rotate-sa-token Rotate tokens of Service Accounts
status Retrieve statuses of deployed cluster components status Retrieve statuses of deployed cluster components

View File

@ -26,9 +26,7 @@ such as getting status and deploying initial infrastructure.
* [airshipctl](airshipctl.md) - A unified entrypoint to various airship components * [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 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 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 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 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 * [airshipctl cluster status](airshipctl_cluster_status.md) - Retrieve statuses of deployed cluster components