gitlab-runner docker-autoscaler not compatible with these helm charts
It doesn't appear possible to specify a docker configuration when using the gitlab-runner docker-autoscaler and these helm charts.
The following values results in a configuration which does not contain the required [runners.docker] section. I assume this is because of some interaction with the config-template feature only populating a configuration based on the executor which is not docker.
values:
runners:
protected: false
tags: "privileged"
runUntagged: false
executor: docker-autoscaler
config: |
[[runners]]
executor = "docker-autoscaler"
[runners.autoscaler]
plugin = "fleeting-plugin-aws"
capacity_per_instance = 1
max_use_count = 1
max_instances = 10
[runners.autoscaler.plugin_config] # plugin specific configuration (see plugin documentation)
name = "my-test-asg" # AWS Autoscaling Group name
[runners.autoscaler.connector_config]
username = "ubuntu"
use_external_addr = true
use_static_credentials = true
key_path = /home/gitlab-runner/.ssh/deploy-key
[[runners.autoscaler.policy]]
idle_count = 5
idle_time = "20m0s"
[runners.docker]
image = "alpine:latest"