Skip to content

Commit

Permalink
deprecate config cluster and provider subcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
shysank committed May 19, 2021
1 parent 71201bb commit 4fe2aee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/clusterctl/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (

var configCmd = &cobra.Command{
Use: "config",
Short: "Display provider configuration and templates to create workload clusters.",
Long: `Display provider configuration and templates to create workload clusters.`,
Short: "Display clusterctl configuration.",
Long: `Display clusterctl configuration.`,
}

func init() {
Expand Down
1 change: 1 addition & 0 deletions cmd/clusterctl/cmd/config_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ var configClusterClusterCmd = &cobra.Command{
RunE: func(cmd *cobra.Command, args []string) error {
return runGetClusterTemplate(cmd, args[0])
},
Deprecated: "use `clusterctl generate cluster` instead",
}

func init() {
Expand Down
1 change: 1 addition & 0 deletions cmd/clusterctl/cmd/config_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ var configProviderCmd = &cobra.Command{
RunE: func(cmd *cobra.Command, args []string) error {
return runGetComponents()
},
Deprecated: "use `clusterctl generate provider` instead",
}

func init() {
Expand Down

0 comments on commit 4fe2aee

Please sign in to comment.