899bbdbe07
This patch links cluster get-kubeconfig command call with appropriate clusterctl functionality, and also replaces old callbacks and removes outdated implementation. Change-Id: Ibd0d981985f94497db250c8df3f5675fdec1d2ca Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Relates-To: #374
16 lines
563 B
Plaintext
16 lines
563 B
Plaintext
Retrieve cluster kubeconfig and print it to stdout
|
|
|
|
Usage:
|
|
get-kubeconfig [cluster_name] [flags]
|
|
|
|
Examples:
|
|
# Retrieve target-cluster kubeconfig
|
|
airshipctl cluster get-kubeconfig target-cluster --kubeconfig /tmp/kubeconfig
|
|
|
|
|
|
Flags:
|
|
--context string specify context within the kubeconfig file
|
|
-h, --help help for get-kubeconfig
|
|
--kubeconfig string path to kubeconfig associated with parental cluster
|
|
-n, --namespace string namespace where cluster is located, if not specified default one will be used (default "default")
|