diff options
-rw-r--r-- | doc/user/project/clusters/index.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md index 8a522a3e255..4211657ad03 100644 --- a/doc/user/project/clusters/index.md +++ b/doc/user/project/clusters/index.md @@ -115,11 +115,11 @@ to install some [pre-defined applications](#installing-applications). To determine the: -- API URL, run `kubectl cluster-info | grep 'Kubernetes master' | awk '/http/ {print $NF}'` +- API URL, run `kubectl cluster-info | grep 'Kubernetes master' | awk '/http/ {print $NF}'`. - Token: - 1. List the secrets by running `kubectl get secrets`. Note the name of the secret you need the token for. - 2. Get the token for the noted secret by running `kubectl get secret <SECRET_NAME> -o jsonpath="{['data']['token']}" | base64 -D` -- CA Certificate, run `kubectl get secret <secret name> -o jsonpath="{['data']['ca\.crt']}" | base64 -D` + 1. List the secrets by running: `kubectl get secrets`. Note the name of the secret you need the token for. + 1. Get the token for the appropriate secret by running: `kubectl get secret <SECRET_NAME> -o jsonpath="{['data']['token']}" | base64 -D`. +- CA certificate, run `kubectl get secret <secret name> -o jsonpath="{['data']['ca\.crt']}" | base64 -D`. ## Security implications |