mirror of
https://github.com/rancher/k3k.git
synced 2026-08-21 05:16:18 +00:00
feat: update kubeconfig generate command (#1158)
* feat: update kubeconfig generate command * improve messages and docs
This commit is contained in:
@@ -194,6 +194,12 @@ Generate kubeconfig for clusters.
|
||||
k3kcli kubeconfig generate [flags]
|
||||
----
|
||||
|
||||
=== Examples
|
||||
|
||||
----
|
||||
k3kcli kubeconfig generate [command options] NAME
|
||||
----
|
||||
|
||||
=== Options
|
||||
|
||||
----
|
||||
@@ -203,7 +209,6 @@ k3kcli kubeconfig generate [flags]
|
||||
--expiration-days int Expiration date of the certificates used for the kubeconfig (default 365)
|
||||
-h, --help help for generate
|
||||
--kubeconfig-server string override the kubeconfig server host
|
||||
--name string cluster name
|
||||
-n, --namespace string namespace of the k3k cluster
|
||||
--org strings Organization name (ORG) of the generated certificates for the kubeconfig
|
||||
----
|
||||
|
||||
@@ -6,6 +6,12 @@ Generate kubeconfig for clusters.
|
||||
k3kcli kubeconfig generate [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
k3kcli kubeconfig generate [command options] NAME
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
@@ -15,7 +21,6 @@ k3kcli kubeconfig generate [flags]
|
||||
--expiration-days int Expiration date of the certificates used for the kubeconfig (default 365)
|
||||
-h, --help help for generate
|
||||
--kubeconfig-server string override the kubeconfig server host
|
||||
--name string cluster name
|
||||
-n, --namespace string namespace of the k3k cluster
|
||||
--org strings Organization name (ORG) of the generated certificates for the kubeconfig
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user