Error when fetching helm chart with 'kustomize build --enable-helm' #4451
Labels
area/helm
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
triage/duplicate
Indicates an issue is a duplicate of other open issue.
Describe the bug
When using a
HelmChartInflationGenerator
, kustomize fails with the following command:The output is the following:
I can confirm that I get the same error when using
helm
directly:Same output as before:
However, when running that very same command but without (!) the
--repo
flag... it works!Output:
Files that can reproduce the issue
kustomization.yaml:
chartInflator.yaml:
kustom-values.yaml
(not relevant)
Expected output
The kustomize
kustomize --enable-helm
command that internally builds thishelm
commandshould be actually building it without the --repo flag:
then it works :)
Actual output
Kustomize version
{Version:kustomize/v4.5.1 GitCommit:746bd18a8c0ba5768b4519778c82a5fb3e667466 BuildDate:2022-02-02T19:02:13Z GoOs:darwin GoArch:amd64}
Helm version
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.6"}
Platform
macOs 12.1 (Monterrey)
The text was updated successfully, but these errors were encountered: