gitlab-runner helm chart volumes not mounting
I have gitlab-runner deployed in the K8s cluster using helm charts. Below is my values.yaml file
I install it using command
helm install -n gitlab-managed-apps gitlab-runner -f values.yaml gitlab/gitlab-runner
Unfortunately, I cannot see the volumes mounted and my jobs failing due to missing customer CA certificates.
gitlabUrl: https://gitlab.local.io/
runnerRegistrationToken: "xxxxxxxxxxxxxxxxxx"
terminationGracePeriodSeconds: 3600
certsSecretName: runnersecret
concurrent: 10
checkInterval: 30
logLevel: debug
rbac:
create: false
clusterWideAccess: false
serviceAccountName: gitlab-admin
podSecurityPolicy:
enabled: false
resourceNames:
- gitlab-runner
metrics:
enabled: true
runners:
config: |
[[runners]]
name = "docker"
url = "https://gitlab.local.io/"
executor = "docker"
[runners.docker]
image = "ubuntu:latest"
volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock", "/home/gitlab-runner/.gitlab-runner/certs/ca.crt:/etc/gitlab-runner/certs/ca.crt"]
name: "myrunner"
privileged: true
namespace: gitlab-managed-apps
cache: {}
builds: {}
services: {}
helpers: {}
cloneUrl: "https://10.10.10.1"
env:
GIT_SSL_NO_VERIFY: true
securityContext:
fsGroup: 65533
runAsUser: 100
resources: {}
affinity: {}
nodeSelector: {}
tolerations: []
hostAliases:
- ip: "10.10.10.1"
hostnames:
- "gitlab.local.io"
podAnnotations: {}
podLabels: {}