Enable setting `automountServiceAccountToken: false` and adding custom `volumes`/`volumeMounts` blocks
Hello,
We are migrating our heavily customized gitlab-agent install from flat kubernetes manifests to the helm chart, and would like to be able to disable service account token automount.
Right now in our customized install, we set autmountServiceAccountToken: false
, and we add a projected
volume
and a volumeMount
to provide a service account token to the app.
We do this because the token provided by default (with automountServiceAccountToken: true
or unset) never expires, whereas the token provided by a projected volume rotates every hour by default.
This works well for us, and so we would like to propose the ability to make this change via the helm chart. At the moment until this is offered, we plan to leverage Kustomize as a post-render
hook to modify the rendered output from the chart before it's applied to the cluster, in order to retain this feature.