configMapGenerator unable to replace/merger ConfigMap from a Helm chart #5836
Labels
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.
What happened?
Kustomize is unable to replace/merge the contents of a ConfigMap if the ConfigMap comes from the Helm generator.
What did you expect to happen?
Kustomize should be able to replace/merge the content of any ConfigMaps regardless if they are local or from the chart.
How can we reproduce it (as minimally and precisely as possible)?
Both options bellow reproducing the problem. Tested behavior:
replace
,merge
.Option 1:
File kustomization.yaml
Option 2:
This option was described here: #4799 (comment) but it's not working.
File kustomization.yaml:
File configmap-generator.yaml:
Of course, this manifest exists in Helm Chart:
Expected output
It should generate manifests
Actual output
Kustomize version
v5.5.0
Operating system
MacOS
The text was updated successfully, but these errors were encountered: