diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-28 06:06:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-28 06:06:27 +0300 |
commit | a87b80f74416208b8c46db328c5384d7ccbdecdd (patch) | |
tree | d9c14eb0cbbcde66690582857f459ada0ddb98ed /doc/user/project/clusters/index.md | |
parent | 352012d8484cf0d7d5d976ecea7e46b196445709 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/clusters/index.md')
-rw-r--r-- | doc/user/project/clusters/index.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md index 9ecb785d6fe..26995809d84 100644 --- a/doc/user/project/clusters/index.md +++ b/doc/user/project/clusters/index.md @@ -205,9 +205,13 @@ To add an existing Kubernetes cluster to your project: `default-token-xxxxx`. Copy that token name for use below. - Get the certificate by running this command: - ```sh - kubectl get secret <secret name> -o jsonpath="{['data']['ca\.crt']}" | base64 --decode - ``` + ```sh + kubectl get secret <secret name> -o jsonpath="{['data']['ca\.crt']}" | base64 --decode + ``` + + NOTE: **Note:** + If the command returns the entire certificate chain, you need copy the *root ca* + certificate at the bottom of the chain. - **Token** - GitLab authenticates against Kubernetes using service tokens, which are |