Repository navigation
feat(chart): make dind container template configurable - #3216
norman-zon wants to merge 1 commit into
Conversation
In addition to the pre-populated values for the dind container template parse spec from Values.template.spec.containers["dind"] to enable users to add config
cfcf112 to
1ddc73c
Compare
|
@nikola-jokic, can we get this merged? It's only a small helmchart change, but would make life much easier for us. |
|
I also would like to specify additional |
|
Hey @norman-zon, We decided not to allow customizations in the default template. The reason behind this decision is that customization should either work for all fields, or no fields. So at this time, we decided to proceed with the following:
|
|
Hi @nikola-jokic, First of all I overlooked the line
and thought it would not be possible to override the template completely. Regarding the everything-or-nothing policy, this does not seem to be consistent, because you already allow setting certain customisations for the Setting the template as a whole might be the straight-forward approach to customisation, but requires me to check the helmrelease for changed default templates on every update, to avoid breaking things, or missing important changes (like the recent change of the docker socket for example). Also, isn't partial templating the whole point of using helm? I would suggest to switch to using So we could end up with something like: runnerPod:
extraVolumes: []
runnerContainer:
extraArgs: []
extraEnv: []
exraVolumeMounts: []
...
dindContainer:
extraArgs: []
...
...I'd be happy to write a PR for that. What do you think? |
|
Is there a way to specify a different image instead of being hardcoded? |
In addition to the pre-populated values for the dind container template parse spec from Values.template.spec.containers["dind"] to enable users to add config