Skip to content

feat: support to helm chart inflation via kustomize#193

Merged
amountainram merged 1 commit into
mainfrom
feat/helm-driver
Apr 28, 2026
Merged

feat: support to helm chart inflation via kustomize#193
amountainram merged 1 commit into
mainfrom
feat/helm-driver

Conversation

@amountainram

@amountainram amountainram commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

feat: add Helm chart inflation and load-restrictor support to kustomize command
fix: resolve platform trailing slash and kustomize issues
feat: add Helm-enabled Docker image variants and kustomize docs
chore(ci): publish helm3, helm4, and helm Docker image variants on release
chore: add tests for kustomize command and helm chart inflation

What this PR is for?

Add Helm chart inflation support to the kustomize subcommand and publish Helm-enabled Docker image variants.

This PR introduces --enable-helm, --helm-command, --helm-api-versions, --helm-kube-version, and --load-restrictor flags to mlp kustomize, enabling Helm chart rendering as part of a kustomize build.

It also adds multi-stage Dockerfile targets (helm3, helm4) producing mlp:<version>-helm3, mlp:<version>-helm4, and mlp:<version>-helm (alias for helm4) image variants. Each stage downloads the Helm binary and runs a smoke test during build.

Additional changes:

  • Fix DEFAULT_DOCKER_PLATFORM and build target to conditionally append GOARM only when set, preventing invalid trailing slash on non-ARM platforms (e.g. linux/amd64/ -> linux/amd64)
  • Add make targets: docker-build-helm, docker-build-helm3, docker-build-helm4, and their multiarch counterparts
  • Update CI (ci-docker) to publish all image variants on release
  • Add goreleaser before-hook to auto-update version strings in README.md and docs on stable releases
  • Add dedicated kustomize documentation page and update existing docs
  • Add comprehensive tests for all new kustomize flags, load-restrictor behavior, and Helm chart inflation (using a mock helm binary)

@ThisIsDemetrio ThisIsDemetrio marked this pull request as ready for review April 16, 2026 13:02
@ThisIsDemetrio ThisIsDemetrio requested a review from a team as a code owner April 16, 2026 13:02
…ze command

fix: resolve platform trailing slash and kustomize issues
feat: add Helm-enabled Docker image variants and kustomize docs
chore(ci): publish helm3, helm4, and helm Docker image variants on release
chore: add tests for `kustomize` command and helm chart inflation

Add --enable-helm, --helm-command, --helm-api-versions,
--helm-kube-version, and --load-restrictor flags to the kustomize
subcommand, enabling Helm chart inflation via kustomize.

Also fix DEFAULT_DOCKER_PLATFORM and build target to conditionally
append GOARM only when set, preventing invalid trailing slash on
non-ARM platforms (e.g. "linux/amd64/" → "linux/amd64").

Add multi-stage Dockerfile with helm3 and helm4 targets, producing
mlp:<version>-helm3, mlp:<version>-helm4, and mlp:<version>-helm
(alias for helm4) image variants. Each stage downloads the Helm
binary and runs a smoke test during build.

Add corresponding make targets: docker-build-helm, docker-build-helm3,
docker-build-helm4, and their multiarch counterparts.

Add goreleaser before-hook to auto-update version strings in README.md
and docs/ on stable releases.

Add dedicated kustomize documentation page and update existing docs
to reference Helm support and image variants.
@amountainram amountainram merged commit a140865 into main Apr 28, 2026
14 checks passed
@amountainram amountainram deleted the feat/helm-driver branch April 28, 2026 08:02
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.

2 participants