summaryrefslogtreecommitdiff
path: root/doc/api/project_clusters.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-04-18 17:31:13 +0200
committerAchilleas Pipinellis <axil@gitlab.com>2019-05-19 13:18:10 -0700
commit70e70273e5f95a66f634b6d6060d8d0ac7dec93f (patch)
tree8cfec0ed65ec2f403fecf345bb3a03ffa41fa647 /doc/api/project_clusters.md
parent7e14fc25082a654df24e08f2fda31882eeaf386f (diff)
downloadgitlab-ce-docs/merge-ce-ee-api.tar.gz
Merge the EE API docs into CEdocs/merge-ce-ee-api
This is for the single docs codebase effort. For more information, see the epic https://gitlab.com/groups/gitlab-org/-/epics/199
Diffstat (limited to 'doc/api/project_clusters.md')
-rw-r--r--doc/api/project_clusters.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/project_clusters.md b/doc/api/project_clusters.md
index c831cc52a93..ef1993dac2e 100644
--- a/doc/api/project_clusters.md
+++ b/doc/api/project_clusters.md
@@ -167,6 +167,7 @@ Parameters:
| `platform_kubernetes_attributes[ca_cert]` | String | no | TLS certificate (needed if API is using a self-signed TLS certificate |
| `platform_kubernetes_attributes[namespace]` | String | no | The unique namespace related to the project |
| `platform_kubernetes_attributes[authorization_type]` | String | no | The cluster authorization type: `rbac`, `abac` or `unknown_authorization`. Defaults to `rbac`. |
+| `environment_scope` | String | no | The associated environment to the cluster. Defaults to `*` |
Example request:
@@ -256,6 +257,7 @@ Parameters:
| `platform_kubernetes_attributes[token]` | String | no | The token to authenticate against Kubernetes |
| `platform_kubernetes_attributes[ca_cert]` | String | no | TLS certificate (needed if API is using a self-signed TLS certificate |
| `platform_kubernetes_attributes[namespace]` | String | no | The unique namespace related to the project |
+| `environment_scope` | String | no | The associated environment to the cluster |
NOTE: **Note:**
`name`, `api_url`, `ca_cert` and `token` can only be updated if the cluster was added