-
Notifications
You must be signed in to change notification settings - Fork 53
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
[Bug]: neo4j-standalone - duplicate mapping key at ConfigMap #36
Comments
Hi @chlumper The values.yaml posted looks incorrect
there is no enabled or volumes object under neo4j. Can you please check and provide the correct and complete values.yaml ? Thanks, |
Hi @chlumper Was able to reproduce the issue with the below yaml.
Will take a look and do the necessary fix. Thanks for bringing this to our attention. Appreciate your time and effort in raising this issue. Regards, |
Sorry the sub entry apiVersion: v2
name: neo4j-test
description: A Helm chart to test neo4j
type: application
version: 0.0.1
appVersion: "0.0.1"
dependencies:
- condition: neo4j.enabled
name: neo4j-standalone
version: 4.4.3
repository: https://helm.neo4j.com/neo4j
alias: neo4j But as you denoted that's not causing the actual problem. Thanks a lot for taking a look! |
Thanks a lot for the quick fix! Is there any roadmap for the upcoming release version? Looking forward to it... Greets |
Hi @chlumper , 4.4.6 is released now. Thanks, |
Contact Details
[email protected]
What happened?
If you render the neo4j-standalone helm chart using
helm template -f values.yaml neo4j-test .
using a minimal
values.yaml
:it leads to a duplicate mapping key for
dbms.directories.import
in the ConfigMapwhich is invalid according to the yaml spec and leads to the following error at the cd tool flux:
(Similar issues at other helm charts with flux: fluxcd/helm-controller#283)
Expected behavior:
Valid yaml with single
dbms.directories.import
entry in the ConfigMap to allow deplyoment with cd tool flux.Relevant parts at the helm chart:
helm-charts/neo4j-standalone/templates/neo4j-config.yaml
Lines 74 to 76 in c9c9bcf
helm-charts/neo4j-standalone/templates/neo4j-config.yaml
Lines 130 to 133 in c9c9bcf
helm-charts/neo4j-standalone/neo4j-community.conf
Lines 19 to 22 in c9c9bcf
As a workaround I tried to disable the "import volume" with the following
values.yaml
entry without any luck, due to merging behavior of helm and the template conditional.or
Tested with neo4j-standalone version
4.4.3
and4.4.5
.Chart Name
Standalone
Chart Version
4.4.3
Environment
Microsoft Azure
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: