Repository navigation
[Helm] Expose dind image - #4219
SheldonTsen wants to merge 2 commits into
Conversation
|
Hello @mumoshu @toast-gear @rentziass @nikola-jokic, small bump! |
|
Hello @mumoshu @toast-gear @rentziass @nikola-jokic, small bump again! Thanks! |
|
Hey @SheldonTsen, As mentioned a few times now, we don't want to create a patch that will simply modify the dind image. The more reasonable path forward would be to rework our helm chart so it is better suited to handle these cases. This PR looks much closer to what we need to do, instead of allowing top-level objects to modify inner objects. Since modifying dind image is possible, you simply don't specify the containerMode and uncomment out the spec that would be applied if the containerMode is set to dind, I'll close this PR for now. I admit that the charts could be better designed, but this is not the way to do it. And since it doesn't block users from modifying the spec, I would hesitate before applying the temporary patch. |
|
@nikola-jokic - no problem. Thanks for the response. I should have checked for other PRs first before creating this.
Let me look at this more closely. I thought it was not currently possible. Thanks! |
|
No problem! You can see in the template section that we have commented out the spec that would be expanded if you pick the container mode dind for example. You just uncomment out that section and modify the fields you need in order to make it work |
|
Actually, @nikola-jokic, I took a deeper look, it might not be possible. So in In And in If I am not mistaken, we will have 4 containers under A possible easy fix would be to add a flag to know when to take from Or a more implicit version (without a flag): |
|
Please read this comment: |
|
Ah right, I need to disable even more things. Okay, yeah, then if I re-defined that again, then it's possible. Okay - my bad! Apologies! Thanks for the clarification. Though in my case, it's basically introducing lots of lines, simply to change one line. Which is not the most ideal way to leverage values file where each line is intended to change something underlying. But I understand also the broader context from the other PR mentioning a nicer way to make things more configurable. |
This image is not configurable. This seemed the simplest to expose this to be configurable.
All other images are configurable but this one. I need to use an internal container registry, and hit this issue.
Tried my best to come up with a sensible place to put this key and this is what I came up with.
See issue here: #4232