You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to deploy this Chart via FluxCD it leads to Helm install errors.
Chart Name
Standalone
Chart Version
5.5.0
Environment
FluxCD, Kustomize
Relevant log output
Status: │
│ Conditions: │
│ Last Transition Time: 2023-03-30T10:17:39Z │
│ Message: Helm install failed: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors: │
│ line 55: mapping key "server.directories.import" already defined at line 14 │
│ line 20: mapping key "server.jvm.additional" already defined at line 19 │
│ line 21: mapping key "server.jvm.additional" already defined at line 19
Duplicate YAML keys
Unlike Helm, the Kustomize yaml parser (kyaml) does not accept duplicate keys, while Helm drops the duplicates, Kustomize errors out. This impacts helm-controller as it uses kustomize/kyaml to label objects reconciled by a HelmRelease.
For example, a chart that adds the app.kubernetes.io/name more than once, will result in a HelmRelease install failure:
map[string]interface {}(nil): yaml: unmarshal errors:
line 21: mapping key "app.kubernetes.io/name" already defined at line 20
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
If you render the neo4j helm chart using helm template using a minimal values.yaml (taken from the example):
It leads to a duplicate mapping key for
server.directories.import
&server.jvm.additional
in the ConfigMap.When trying to deploy this Chart via FluxCD it leads to Helm install errors.
Chart Name
Standalone
Chart Version
5.5.0
Environment
FluxCD, Kustomize
Relevant log output
Relevant Issues
fluxcd/flux2#1522
Code of Conduct
The text was updated successfully, but these errors were encountered: