Created
October 4, 2019 18:04
-
-
Save egeneralov/0d384dcb952a942214f4c29f67fe0da9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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