Skip to content

Commit

Permalink
Merge pull request #10040 from avaneesh634/issue-9374
Browse files Browse the repository at this point in the history
📖 Refining 'cluster init --help' command documentation
  • Loading branch information
k8s-ci-robot committed Jan 29, 2024
2 parents 1bef042 + 0ae5d13 commit 162313a
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 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 provider --infrastructure [name] --describe'
to get a list of required variables.
See https://cluster-api.sigs.k8s.io for more details.`),

Expand Down

0 comments on commit 162313a

Please sign in to comment.