Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-22 21:10:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-22 21:10:55 +0300
commit39cc8695fc20e17f4989fa99aa9fafc00f9e2953 (patch)
tree66c4e9cb60b92f2b82737710789a0f99cbcfb58a /doc/api/instance_clusters.md
parentad765b15d8b18af8ebf26a740f679a9b3c543c1a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/instance_clusters.md')
-rw-r--r--doc/api/instance_clusters.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/api/instance_clusters.md b/doc/api/instance_clusters.md
index 85046388275..f29ac5cd7f2 100644
--- a/doc/api/instance_clusters.md
+++ b/doc/api/instance_clusters.md
@@ -97,7 +97,6 @@ Example response:
...
}
]
-
```
## Get a single instance cluster
@@ -184,7 +183,6 @@ curl --header "Private-Token:<your_access_token>" "http://gitlab.example.com/api
-H "Accept:application/json" \
-H "Content-Type:application/json" \
-X POST --data '{"name":"cluster-3", "environment_scope":"production", "platform_kubernetes_attributes":{"api_url":"https://example.com", "token":"12345", "ca_cert":"-----BEGIN CERTIFICATE-----qpoeiXXZafCM0ZDJkZjM...-----END CERTIFICATE-----"}}'
-
```
Example response:
@@ -255,7 +253,6 @@ Example request:
curl --header "Private-Token: <your_access_token>" "http://gitlab.example.com/api/v4/admin/clusters/9" \
-H "Content-Type:application/json" \
-X PUT --data '{"name":"update-cluster-name", "platform_kubernetes_attributes":{"api_url":"https://new-example.com","token":"new-token"}}'
-
```
Example response:
@@ -290,7 +287,6 @@ Example response:
"management_project": null,
"project": null
}
-
```
## Delete instance cluster