Open djfinnoy opened 3 months ago
This issue is currently awaiting triage.
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted
label.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
What happened?
After upgrading from
5.3.0
to5.4.2
we encountered a bug where kustomize has started failing with the following error:The bug affects helm charts with an empty
values.yaml
file. We have a private helm chart where the defaultvalues.yaml
files that is packaged alongside the chart is empty, and we typically usevaluesInline
in kustomize to pass values.The issue is that the following function returns an error due to the lack of a populated
values.yaml
file.I have found two ways to fix the issue:
valuesFile
instead of (or in addition to)valuesInline
.What did you expect to happen?
The
replaceValuesInline()
should tolerate empty helm values files.How can we reproduce it (as minimally and precisely as possible)?
Expected output
No error
Actual output
Error
Kustomize version
5.4.2
Operating system
Linux