update api-report and update docs around caData

Signed-off-by: Aldira Putra Raharja <dira.thea@gmail.com>
This commit is contained in:
Aldira Putra Raharja
2021-10-13 20:16:55 +07:00
parent 2bacec5531
commit 26b7943660
2 changed files with 16 additions and 0 deletions
+14
View File
@@ -140,6 +140,20 @@ for real examples.
PEM-encoded certificate authority certificates.
This values could be obtained via inspecting the kube config file under
`clusters.cluster.certificate-authority-data`. For GKE, execute the following
command to obtain the value
```
gcloud container clusters describe <YOUR_CLUSTER_NAME> \
--zone=<YOUR_COMPUTE_ZONE> \
--format="value(masterAuth.clusterCaCertificate)"
```
See also
https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication#environments-without-gcloud
for complete docs about GKE without gcloud.
#### `gke`
This cluster locator is designed to work with Kubernetes clusters running in