Hi, we are using gitlab 12.8.1-ee, and our runners are deployed in k8s using a helm chart.
The config.toml file is composed by a general section created by the helm chart config map, and a [redacted] section populated from the environment variables in the deployment YAML.
Unlike all other runner configurations, the ability to bind a PVC to job pods is not exposed with environment variables:
https://gitlab.com/gitlab-org/gitlab-runner/-/blob/master/common/config.go#L201
We also didn't find any option to pass this config in values.yaml.
Is there any other option we are missing? If not, please expose PVC related config as environment variables.
Please expose an environment variable to mount k8s PVC to the pod job. I tried to add to config.toml:
[runners.kubernetes] [redacted] name = "pvc" mount_path = "/mypvc"
But the deployment creates the runner section based on the environment variables, So it makes the section appear twice. And of course, it doesn't work.