-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use --validate
by default for calls to helm template
#5348
Comments
This would be a very nice feature. Edit: maybe not by default but make it configurable |
Hello there, @schlichtanders! 👋 This issue was opened a while back and I noticed it was originally reproduced using v5.0.4 of Kustomize. I tried reproducing it with the latest version (v5.3.0) of Kustomize and it succeeds with both Could you please confirm whether this remains an issue with the latest version of Kustomize? If so, is there a different set of steps that reproduce the issue? |
We already have a |
I encountered this same issue in It isn't present in |
Please refer to this comment: #5505 (comment) /kind helm |
@koba1t: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@koba1t: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@stormqueen1990 I am still experiencing this with Reproduction steps
Could we re-open this issue? |
@koba1t This works, thank you! For anyone coming across this, please refer to this comment on #3458 for more information. |
Still, are there any chances of adding However, |
@vertisan |
What happened?
when using kustomize with helm chart generator, it fails to build cert-manager from its helm chart.
The underlying problem seems to be described in this older helm issue helm/helm#10086
Concretely helm does not use the kubernetes version found by kubectl by default to compare against
kubeVersion
field. Instead, you need to add the--validate
flag for it to pick the currently activated kubernetes cluster version.I couldn't find any workaround, so I guess the helmchartgenerator is so far not working for cert-manager and other helm charts which configure kubeVersion > 1.20.0
Kustomize is really cool, but the helm support is unfortunately buggy at a couple of really crucial places. It is almost unusable.
What did you expect to happen?
build cert-manager without problems
How can we reproduce it (as minimally and precisely as possible)?
the kustomize.yaml config is super simple
with the following values.yaml file
build it with
kubectl kustomize --enable-helm path/to/folder
Expected output
no error
Actual output
it fails with the following error
Kustomize version
v5.0.4-0.20230601165947-6ce0bf390ce3
Operating system
Linux
The text was updated successfully, but these errors were encountered: