Update docs to remove mention of feature flag
This commit is contained in:
parent
56f309dd53
commit
2ec43d9e79
|
@ -134,36 +134,11 @@ authorization is [experimental](#role-based-access-control-rbac).
|
||||||
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21401) in GitLab 11.4.
|
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21401) in GitLab 11.4.
|
||||||
|
|
||||||
CAUTION: **Warning:**
|
CAUTION: **Warning:**
|
||||||
The RBAC authorization is experimental. To enable it you need access to the
|
The RBAC authorization is experimental.
|
||||||
server where GitLab is installed.
|
|
||||||
|
|
||||||
The support for RBAC-enabled clusters is hidden behind a feature flag. Once
|
Once RBAC is enabled for a cluster, GitLab will create the necessary service accounts
|
||||||
the feature flag is enabled, GitLab will create the necessary service accounts
|
|
||||||
and privileges in order to install and run [GitLab managed applications](#installing-applications).
|
and privileges in order to install and run [GitLab managed applications](#installing-applications).
|
||||||
|
|
||||||
To enable the feature flag:
|
|
||||||
|
|
||||||
1. SSH into the server where GitLab is installed.
|
|
||||||
1. Enter the Rails console:
|
|
||||||
|
|
||||||
**For Omnibus GitLab**
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo gitlab-rails console
|
|
||||||
```
|
|
||||||
|
|
||||||
**For installations from source**
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo -u git -H bundle exec rails console
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Enable the RBAC authorization:
|
|
||||||
|
|
||||||
```ruby
|
|
||||||
Feature.enable('rbac_clusters')
|
|
||||||
```
|
|
||||||
|
|
||||||
If you are creating a [new GKE cluster via
|
If you are creating a [new GKE cluster via
|
||||||
GitLab](#adding-and-creating-a-new-gke-cluster-via-gitlab), you will be
|
GitLab](#adding-and-creating-a-new-gke-cluster-via-gitlab), you will be
|
||||||
asked if you would like to create an RBAC-enabled cluster. Enabling this
|
asked if you would like to create an RBAC-enabled cluster. Enabling this
|
||||||
|
|
Loading…
Reference in New Issue