Commit 3c464edb authored by Amy Qualls's avatar Amy Qualls

Merge branch 'DmitriyStoyanov-master-patch-34166' into 'master'

Fix grep command to find kubernetes api URL in documentation

See merge request gitlab-org/gitlab!50785
parents 7e774a79 7c63e238
......@@ -189,7 +189,7 @@ To add a Kubernetes cluster to your project, group, or instance:
Get the API URL by running this command:
```shell
kubectl cluster-info | grep 'Kubernetes master' | awk '/http/ {print $NF}'
kubectl cluster-info | grep -E 'Kubernetes master|Kubernetes control plane' | awk '/http/ {print $NF}'
```
1. **CA certificate** (required) - A valid Kubernetes certificate is needed to authenticate to the cluster. We use the certificate created by default.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment