mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
Simplify generating kubeconfig with embeded cert data
This commit is contained in:
@@ -7,7 +7,7 @@ Sets a cluster entry in .kubeconfig
|
||||
```
|
||||
Sets a cluster entry in .kubeconfig
|
||||
Specifying a name that already exists will merge new fields on top of existing values for those fields.
|
||||
e.g.
|
||||
e.g.
|
||||
kubectl config set-cluster e2e --certificate-authority=~/.kube/e2e/.kubernetes.ca.cert
|
||||
only sets the certificate-authority field on the e2e cluster entry without touching other values.
|
||||
|
||||
@@ -15,6 +15,12 @@ Sets a cluster entry in .kubeconfig
|
||||
|
||||
kubectl config set-cluster name [--server=server] [--certificate-authority=path/to/certficate/authority] [--api-version=apiversion] [--insecure-skip-tls-verify=true]
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--embed-certs=false: embed-certs for the cluster entry in .kubeconfig
|
||||
```
|
||||
|
||||
### Options inherrited from parent commands
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user