Skip to content
Permalink
Browse files
updating kubernetes cluster kubeconfig save doc (#1008)
resolving issue #1007
  • Loading branch information
danaelhe committed Jul 27, 2021
1 parent 0b5840c commit c9dcc4d18b0a0e48ee5f1417dc3547f94a074ec9
Showing with 1 addition and 1 deletion.
  1. +1 −1 commands/kubernetes.go
@@ -392,7 +392,7 @@ This command prints out the raw YAML for the specified cluster's kubeconfig. `,
AddStringFlag(cmdExecCredential, doctl.ArgVersion, "", "", "")

cmdSaveConfig := CmdBuilder(cmd, k8sCmdService.RunKubernetesKubeconfigSave, "save <cluster-id|cluster-name>", "Save a cluster's credentials to your local kubeconfig", `
This command adds the credentials for the specified cluster to your local kubeconfig. After this, your kubectl installation can directly manage your
This command adds the credentials for the specified cluster to your local kubeconfig. After this, your kubectl installation can directly manage the specified cluster.
`, Writer, aliasOpt("s"))
AddBoolFlag(cmdSaveConfig, doctl.ArgSetCurrentContext, "", true, "Boolean indicating whether to set the current kubectl context to that of the new cluster")
AddIntFlag(cmdSaveConfig, doctl.ArgKubeConfigExpirySeconds, "", 0,

0 comments on commit c9dcc4d

Please sign in to comment.