Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a87b80f7
Commit
a87b80f7
authored
Oct 28, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
352012d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
doc/ci/variables/deprecated_variables.md
doc/ci/variables/deprecated_variables.md
+6
-6
doc/user/project/clusters/index.md
doc/user/project/clusters/index.md
+7
-3
No files found.
doc/ci/variables/deprecated_variables.md
View file @
a87b80f7
...
...
@@ -20,15 +20,15 @@ future GitLab releases.**
| 8.x name | 9.0+ name |
| --------------------- |------------------------ |
|
`CI_BUILD_BEFORE_SHA`
|
`CI_COMMIT_BEFORE_SHA`
|
|
`CI_BUILD_ID`
|
`CI_JOB_ID`
|
|
`CI_BUILD_MANUAL`
|
`CI_JOB_MANUAL`
|
|
`CI_BUILD_NAME`
|
`CI_JOB_NAME`
|
|
`CI_BUILD_REF`
|
`CI_COMMIT_SHA`
|
|
`CI_BUILD_TAG`
|
`CI_COMMIT_TAG`
|
|
`CI_BUILD_BEFORE_SHA`
|
`CI_COMMIT_BEFORE_SHA`
|
|
`CI_BUILD_REF_NAME`
|
`CI_COMMIT_REF_NAME`
|
|
`CI_BUILD_REF_SLUG`
|
`CI_COMMIT_REF_SLUG`
|
|
`CI_BUILD_NAME`
|
`CI_JOB_NAME`
|
|
`CI_BUILD_STAGE`
|
`CI_JOB_STAGE`
|
|
`CI_BUILD_REPO`
|
`CI_REPOSITORY_URL`
|
|
`CI_BUILD_
TRIGGERED`
|
`CI_PIPELINE_TRIGGERED`
|
|
`CI_BUILD_
MANUAL`
|
`CI_JOB_MANUAL
`
|
|
`CI_BUILD_
STAGE`
|
`CI_JOB_STAGE`
|
|
`CI_BUILD_
TAG`
|
`CI_COMMIT_TAG
`
|
|
`CI_BUILD_TOKEN`
|
`CI_JOB_TOKEN`
|
|
`CI_BUILD_TRIGGERED`
|
`CI_PIPELINE_TRIGGERED`
|
doc/user/project/clusters/index.md
View file @
a87b80f7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment