Extra volume and volume mounts
As an administrator, I would like to be able to mount additional volumes into my agent that are not specifically called for in the chart. The current helm chart does not provide a way to include additional volume or volume mounts to the agent. This is useful for customers who have already living secrets or configmaps in the cluster.
It is common in helm charts to have a values section for this common use-case. The GitLab Runner for instance has a section of values file that includes this.
A small change to the templates to have a volumes section and to the deployment template is all that is required.
I am happy to make the contribution if the gitlab team thinks it useful.
Release notes
The agentk
component of the agent for Kubernetes requires a token to authenticate with GitLab. Previously, you could provide the token either as is or as a reference to the Kubernetes secret containing the token. You might operate in an environment where the secret is already available in a volume, and you'd prefer to mount that volume, instead of creating a separate secret and mounting it. The GitLab agent Helm chart ships with this added feature thanks to a community contributions from Thomas Spear.