add option to merge additional TOML config file
I added a configuration to leverage TEMPLATE_CONFIG_FILE
environment variable of the gitlab-runner. For my use case it was pretty useful to add the following configuration to the chart deployment:
[[runners]]
[runners.kubernetes]
[runners.kubernetes.pod_security_context]
run_as_non_root = true
run_as_user = 59417
run_as_group = 59417
fs_group = 59417
[runners.kubernetes.volumes]
[[runners.kubernetes.volumes.secret]]
name = "a-secret"
mount_path = "/a-mount-path"
read_only = true
This one gets perfectly merged with the generated configuration.
I thought it may be useful for others. Pardon me if i'm breaking any workflow with this merge request tentative, this is the first i submitted.