Skip to content

feat(chart): refactor helm chart - #3645

Closed
norman-zon wants to merge 4 commits into
actions:masterfrom
norman-zon:helmchart-refactor
Closed

norman-zon wants to merge 4 commits into
actions:masterfrom
norman-zon:helmchart-refactor

Conversation

@norman-zon

@norman-zon norman-zon commented Jul 5, 2024 •

Copy link
Copy Markdown

The reactions and follow up discussion in #3216 seemed to signal users are interested in a design for the helm chart, where pod configuration is done using extra... values, instead of the template.spec approach.
I understand the design decision for the current implementation, but wanted to provide an alternative.

@norman-zon
norman-zon force-pushed the helmchart-refactor branch 13 times, most recently from 6bc2d54 to 3aee4aa Compare July 10, 2024 14:00
@norman-zon norman-zon changed the title refactor refactor helm chart Jul 10, 2024
@norman-zon norman-zon changed the title refactor helm chart feat(chart): refactor helm chart Jul 10, 2024
@norman-zon
norman-zon marked this pull request as ready for review July 10, 2024 14:05
@norman-zon
norman-zon requested review from a team, mumoshu, rentziass and toast-gear as code owners July 10, 2024 14:05
To avoid having to completely define template.spec, in case the user
wanted to make significant changes to the runner pod, new values
extra{Args,Env,VolumeMounts...} are introduced.
This also makes the helm chart follow a more canonical layout than
before
@wooseung-sim

Copy link
Copy Markdown

+1 on this PR, and waiting it to be merged and released.

@wooseung-sim

Copy link
Copy Markdown

@mumoshu , @rentziass , @toast-gear can we get eyes from any of code owners please?
I really need overriding docker:dind image to our internal docker registry badly due to API rate limit issue of docker hub.

@ronghua

ronghua commented Oct 2, 2024

Copy link
Copy Markdown

This feature is helpful. Can we get this reviewed and merged please?

@poet038

poet038 commented Dec 4, 2024

Copy link
Copy Markdown

Also a support for imagePullSecrets in the helm chart would be helpful. Regarding #2808 a registry mirror would be a solution to possible rate limits pulling the docker-in-docker image when using containerType 'dind'. Passing a Secret to the chart in order to make it possible to pull dind from a private registry would solve this as well. Are there any updates on this?

@norman-zon

Copy link
Copy Markdown
Author

@poet038 , I just added support for imagePullSecrets.

@mumoshu , can you please start the review for this PR?

@cpotter302

cpotter302 commented Dec 4, 2024 •

Copy link
Copy Markdown

@norman-zon thanks for the quick reply. I have a small addition that would be really nice to have as well. What i can see from now is that every runner pod pulls the container images again from dockerhub. Like using imagePullPolicy 'always'. Making the pullPolicy configurable would also decrease the number of pulls and could fasten up the pod creation thus achieving a faster built time for each github workflow executed on a self-hosted runnner.

@norman-zon

Copy link
Copy Markdown
Author

@cpotter302 pulling always is the default for image tag latest.

I don't know if setting imagePullPolicy to override this behaviour is good practice, or if you rather should pin the tag.

@rafaelgaspar

Copy link
Copy Markdown

Any updates on this getting merged?

We need to inject daemon.json into docker dind container to enable IPv6 support on an IPv6-only cluster, and currently not even using the spec works, not even resources gets added to dind container, only runner container seams to be customizable ATM.

@SharifiFaranak

SharifiFaranak commented Feb 27, 2025 •

Copy link
Copy Markdown

any updates on this? 🙏 related to #3709 (comment)

cc: @mumoshu , @rentziass , @toast-gear, @Link-

@FearlessHyena

Copy link
Copy Markdown
Contributor

Can we please get this merged so #3709 can be supported 🙏

@Link- @nikola-jokic @rentziass

@cpotter302

cpotter302 commented Jun 6, 2025 •

Copy link
Copy Markdown

Any updates here?

@kohbis

kohbis commented Aug 6, 2025

Copy link
Copy Markdown

any updates on this?

@nikola-jokic

nikola-jokic commented Aug 6, 2025 •

Copy link
Copy Markdown
Collaborator

Hey everyone,

Even though the approach looks great, we are not yet ready to merge and support it. For a change of this magnitude would require:

  • All users to rewrite their values.yaml file.
  • Us to update all the docs and supporting resources.
  • Us to properly test these changes on many environments.

At this time, we cannot prioritize this work. Hopefully, we will get to it soon, but I cannot promise anything. Although this approach is much better (especially for containerMode kubernetes), the way it is currently working is not blocking anyone.

@nourspace

Copy link
Copy Markdown

Maybe we get this for xmas ^^?

@dalvarezquiroga

Copy link
Copy Markdown

#3997
let us overwrite the docker:dind image!

@nikola-jokic

Copy link
Copy Markdown
Collaborator

Closing this PR since new experimental charts are redesigned to solve the same problem.
Thank you @norman-zon for raising this PR. It served as a model to re-design the chart. The effort you put into designing this chart is truly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.