Skip to content

Instantly share code, notes, and snippets.

@egeneralov
Created October 4, 2019 18:04
Show Gist options
  • Select an option

  • Save egeneralov/0d384dcb952a942214f4c29f67fe0da9 to your computer and use it in GitHub Desktop.

Select an option

Save egeneralov/0d384dcb952a942214f4c29f67fe0da9 to your computer and use it in GitHub Desktop.
#!/bin/bash -xe
cat << EOF > runner-values.yaml
---
concurrent: 4
checkInterval: 3
rbac:
create: true
clusterWideAccess: false
runners:
image: docker:dind
builds: {}
services: {}
helpers: {}
privileged: true
resources: {}
gitlabUrl: https://gitlab.com/
runnerToken:
EOF
helm repo add runner https://charts.gitlab.io
helm repo update
helm upgrade --install runner runner/gitlab-runner \
--reset-values \
--version 0.8.0 \
--set "rbac.create=true,rbac.enabled=true" \
--namespace gitlab-managed-apps \
-f runner-values.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment