In the way Helm manages the templating system, it might fail if two charts are being rendered simultaneously and those charts have a template with the same name but return different outputs. This issue is encountered when attempting to deploy a neo4j chart and its backup chart in the same deployment. This is a typical scenario when deploying using ArgoCD.
Reproduction Steps
Create a Chart.yaml file with the following content:
Contact Details
the same user as in github [at] icij [dot] org
What happened?
Description
In the way Helm manages the templating system, it might fail if two charts are being rendered simultaneously and those charts have a template with the same name but return different outputs. This issue is encountered when attempting to deploy a neo4j chart and its backup chart in the same deployment. This is a typical scenario when deploying using ArgoCD.
Reproduction Steps
Create a Chart.yaml file with the following content:
Create a values.yaml file with the following content:
Run the following commands:
Expected Behavior
Both charts should render correctly without conflicts.
Actual Behavior
The following error is encountered:
Environment
Possible Solution
A potential solution is to change the name for the neo4j.nodeSelector in the admin chart to neo4j-admin.nodeSelector to avoid conflicts.
Note: The version of the chart I'm using is 5.21.2 but it is not in the list Note2: the code of conduct link points to https://example.com/ ....
Chart Name
Neo4j
Chart Version
5.12.0
Environment
Amazon Web Services
Relevant log output
Code of Conduct