diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-07-05 19:44:45 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-07-05 19:51:17 +0200 |
commit | 8c7c06e750bab9982560cb8de4629c4e93659c97 (patch) | |
tree | f527ee63adc03bf586a5c562ae81a04413f16aea /doc/api/project_clusters.md | |
parent | 03ee977a0aabb69abbd0a966597c3114402c808f (diff) | |
download | gitlab-ce-8c7c06e750bab9982560cb8de4629c4e93659c97.tar.gz |
Change tier badge regex to use parenthesisuse-parenthesis-for-tier-badges
Previously, we used brackets to denote the tier badges,
but this made Kramdown, the docs site Markdown renderer,
to show some warnings when the site was built. This is
now changed by replacing brackets with parenthesis.
This is because [PREMIUM] is translated to a link, and Kramdown
wouldn't find its URL since there isn't one.
- https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/484
- https://gitlab.com/gitlab-org/gitlab-ce/issues/63800
Diffstat (limited to 'doc/api/project_clusters.md')
-rw-r--r-- | doc/api/project_clusters.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/project_clusters.md b/doc/api/project_clusters.md index 327781f6c93..614ea41d572 100644 --- a/doc/api/project_clusters.md +++ b/doc/api/project_clusters.md @@ -167,7 +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 `*` **[PREMIUM]** | +| `environment_scope` | String | no | The associated environment to the cluster. Defaults to `*` **(PREMIUM)** | Example request: @@ -257,7 +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 **[PREMIUM]** | +| `environment_scope` | String | no | The associated environment to the cluster **(PREMIUM)** | NOTE: **Note:** `name`, `api_url`, `ca_cert` and `token` can only be updated if the cluster was added |