Skip to content

Commit

Permalink
Refining 'cluster init --help' command documentation: Clarify provide…
Browse files Browse the repository at this point in the history
…r repository info and configurations
  • Loading branch information
avaneesh634 committed Jan 23, 2024
1 parent 4174cd7 commit d4f77b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cmd/clusterctl/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ var initCmd = &cobra.Command{
The management cluster must be an existing Kubernetes cluster, make sure
to have enough privileges to install the desired components.
Use 'clusterctl config repositories' to get a list of available providers; if necessary, edit
$XDG_CONFIG_HOME/cluster-api/clusterctl.yaml file to add new provider or to customize existing ones.
Some providers require environment variables to be set before running clusterctl init.
Refer to the provider documentation, or use 'clusterctl config provider [name]' to get a list of required variables.
Use 'clusterctl config repositories' to get a list of available providers and their repository configuration; if
necessary, edit $XDG_CONFIG_HOME/cluster-api/clusterctl.yaml file to add new provider or to customize existing ones.
See https://cluster-api.sigs.k8s.io for more details.`),

Expand Down

0 comments on commit d4f77b9

Please sign in to comment.