Skip to content

Add RBAC-enabled Kubernetes configuration

This is a general Merge Request template. Consider to choose a template from the list above if it will match your case more.

What does this MR do?

Add a standard configuration for running a Gitlab Runner in a Kubernetes cluster with enabled RBAC and how to register the runner.

Why was this MR needed?

The current documentation does not cover RBAC or a how to for registering the runner. Also #2130 (closed) uses a lot of wild cards instead of a well-defined set of resources and verbs required for the gitlab-runner to operate.

Are there points in the code the reviewer needs to double check?

This should be tested by a third party against their K8s cluster to validate it.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug [N/A]
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

#2130 (closed) and maybe #2964 (closed)

Edited by Leonhard Mayr

Merge request reports