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 information and configuration
  • Loading branch information
avaneesh634 committed Jan 24, 2024
1 parent b2fc7c2 commit 9ee8b55
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/clusterctl/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ 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.
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.
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.
Refer to the provider documentation, or use
'clusterctl generate cluster <cluster-name> --list-variables --infrastructure <infrastructure-provider>'.
See https://cluster-api.sigs.k8s.io for more details.`),

Expand Down

0 comments on commit 9ee8b55

Please sign in to comment.