diff options
author | Joshua Lambert <joshua@gitlab.com> | 2018-04-13 15:40:41 -0400 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2018-04-13 15:40:41 -0400 |
commit | 437bb48d742b951e2b8524b070520332f1e3f12c (patch) | |
tree | 294622cab7e36c433d7156a7ef6d2cbc47d872e9 /doc | |
parent | 059aca1a50ab4be9c23e556d7d7d47ee24da6af7 (diff) | |
download | gitlab-ce-437bb48d742b951e2b8524b070520332f1e3f12c.tar.gz |
Add RBAC documentation for Runner44853-add-rbac-flag-for-runner-chart-to-docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/kubernetes/gitlab_runner_chart.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/install/kubernetes/gitlab_runner_chart.md b/doc/install/kubernetes/gitlab_runner_chart.md index 1f53e12d5f8..68f595d0783 100644 --- a/doc/install/kubernetes/gitlab_runner_chart.md +++ b/doc/install/kubernetes/gitlab_runner_chart.md @@ -72,6 +72,18 @@ concurrent: 10 ## checkInterval: 30 +## For RBAC support: +rbac: + create: false + + ## Run the gitlab-bastion container with the ability to deploy/manage containers of jobs + ## cluster-wide or only within namespace + clusterWideAccess: false + + ## Use the following Kubernetes Service Account name if RBAC is disabled in this Helm chart (see rbac.create) + ## + # serviceAccountName: default + ## Configuration for the Pods that that the runner launches for each new job ## runners: @@ -116,6 +128,12 @@ runners: ``` +### Enabling RBAC support + +If your cluster has RBAC enabled, you can choose to either have the chart create its own sevice account or provide one. + +To have the chart create the service account for you, set `rbac.create` to true. + ### Controlling maximum Runner concurrency A single GitLab Runner deployed on Kubernetes is able to execute multiple jobs in parallel by automatically starting additional Runner pods. The [`concurrent` setting](https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-global-section) controls the maximum number of pods allowed at a single time, and defaults to `10`. |