The gitlab-runner tries to use minio secret despite minio being disabled
chart version: gitlab-0.3.0
situation: Attempting to setup gitlab-runner as part of the overall CNG helm deployment in EKS (although disabling minio in favor of S3 in any situation would lead to the same issue)
error:
Warning FailedMount 9m (x23 over 40m) kubelet, ip-192-168-3-136.us-west-2.compute.internal MountVolume.SetUp failed for volume "init-runner-secrets" : secrets "gitlab-ptcu-minio-secret" not found
This appears to be the result of the override on lines 15-20 of templates/_runner.tpl:
{{/*
Override the runner charts cache secret name to match minio
*/}}
{{- define "gitlab-runner.cache.secret" -}}
{{ include "gitlab.minio.credentials.secret" . }}
{{- end -}}
This is set regardless of the fact that minio, at least in my case, is disabled both globally and at the sidekiq, unicorn, and task-runner levels.
There may well be a way to override this override, but my helm knowledge is apparently not sufficient to figure it out.