Skip to content

Add init script injection for helm chart Deployments - #28

Merged
nresare merged 1 commit into
mainfrom
feature/helm-init-script-injection
Mar 25, 2026
Merged

nresare merged 1 commit into
mainfrom
feature/helm-init-script-injection

Conversation

@nresare

@nresare nresare commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

Add an optional init script field to helm chart configs that injects an initContainer into the chart's Deployment. The initContainer uses the alpine_image from images.toml, runs the script content as a /bin/sh -c command, and copies volumeMounts from the main containers. Errors if the chart produces 0 or multiple Deployments, or if alpine_image is not defined in images.toml.

Add an optional init script field to helm chart configs that injects an initContainer
into the chart's Deployment. The initContainer uses the alpine_image from images.toml,
runs the script content as a /bin/sh -c command, and copies volumeMounts from the
main containers. Errors if the chart produces 0 or multiple Deployments, or if
alpine_image is not defined in images.toml.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@nresare
nresare merged commit a0009a7 into main Mar 25, 2026
1 of 2 checks passed
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.

1 participant