Skip to content

Instantly share code, notes, and snippets.

@farhadnowzari
Created July 30, 2023 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save farhadnowzari/cc0c9216d49383b4a337d9f3f9e00b84 to your computer and use it in GitHub Desktop.
Save farhadnowzari/cc0c9216d49383b4a337d9f3f9e00b84 to your computer and use it in GitHub Desktop.
The config to apply into gitlab-runner helm chart
gitlabUrl: <the-path-to-gitlab>
runnerRegistrationToken: <runner-token>
rbac:
create: true
runners:
config: |
[[runners]]
name = "Kubernetes Runner"
[runners.kubernetes]
image = "ubuntu:20.04"
privileged = true
cleanup_grace_period_seconds = 10
[[runners.kubernetes.volumes.empty_dir]]
name = "docker-certs"
mount_path = "/certs/client"
medium = "Memory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment