k0sproject / k0sctl

A bootstrapping and management tool for k0s clusters.
Other
378 stars 77 forks source link

Include k0sctl config path in "k0sctl kubeconfig" tip on apply success #729

Closed kke closed 3 months ago

kke commented 4 months ago

Fixes #675

When cluster apply is completed successfully, a tip is shown about how to get the admin kubeconfig.

This command needs access to the same k0sctl config that was used to run the apply and some users get confused when the command doesn't work by copypasting the example.

This PR adds the --config <k0sctl-config-path.yaml> flag to the tip (unless default or stdin was used).