summaryrefslogtreecommitdiff
path: root/doc/api/project_clusters.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-03-12 16:22:37 +0100
committerAchilleas Pipinellis <axil@gitlab.com>2019-03-12 16:22:37 +0100
commitc19ed72155378c7e684d771964ad027f57c4ca34 (patch)
treeaee24cf4cd24ca3962a2adf68c7b89cfb37ef242 /doc/api/project_clusters.md
parenta817f7905c084f725b6fa01955be4fd8ad28c747 (diff)
downloadgitlab-ce-docs/ee-to-ce.tar.gz
Merge EE docs into CEdocs/ee-to-ce
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 8efb98fe1fc..3dbfa0a995c 100644
--- a/doc/api/project_clusters.md
+++ b/doc/api/project_clusters.md
@@ -163,6 +163,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:
@@ -251,6 +252,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