<#7572 fix: make devbox build work with Helm v4> P...
# flyte-github
a
#7572 fix: make devbox build work with Helm v4 Pull request opened by pingsutw Why are the changes needed?
make devbox-build
runs
kustomize build --enable-helm
, and kustomize < v5.8.0 probes Helm with
helm version -c --short
. Helm v4 removed the `-c`/`--client` shorthand, so the build fails for any developer who has Helm v4 installed:
Copy code
Error: unknown shorthand flag: 'c' in -c
: unable to run: 'helm version -c --short' ... (is 'helm' installed?): exit status 1
make[1]: *** [manifests] Error 1
make: *** [devbox-build] Error 2
The devbox
manifests
target also called bare
kustomize
from
PATH
, so the build depended on whatever kustomize/helm version a developer happened to have installed. What changes were proposed in this pull request? • `executor/Makefile`: bump pinned kustomize
v5.7.1
→
v5.8.1
. v5.8.0 added Helm v4 support (kustomize#6016); v5.8.1 fixes the v5.8.0 namespace-propagation regression (kustomize#6044). • `docker/devbox-bundled/Makefile`: the
manifests
target now uses the executor's pinned kustomize binary (
../../executor/bin/kustomize
) instead of system
kustomize
, so the devbox build is reproducible regardless of local helm/kustomize versions. No chart changes are needed: both charts are already
apiVersion: v2
(Helm 3 + 4 compatible), and CI installs its own Helm 3. How was this patch tested? Reproduced with a stub "Helm v4" that rejects the
-c
flag like the real release: • kustomize v5.7.1 → reproduces the exact
unknown shorthand flag: 'c' in -c
/
helm version -c --short
error. • kustomize v5.8.1 → clears the version probe (no
-c
). Labels • fixed Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte