Describe the bug
helm install --name vjp-mongo --set image.tag=4.0 --set initMongodStandalone="db.adminCommand( { setFeatureCompatibilityVersion: '4.0' } )" --names
pace vijump stable/mongodb-replicaset
Error: parse error in "mongodb-replicaset/templates/_helpers.tpl": template: mongodb-replicaset/templates/_helpers.tpl:65: unexpected "-" in define clause
Version of Helm and Kubernetes:
Helm v2.13.0
Which chart:
stable/mongodb-replicaset
Anything else we need to know:
incubator/mongodb-replicaset instead of stable/mongodb-replicaset and it worked.{{- define "mongodb-replicaset.connection-string" -}} , there are two spaces between "mongodb-replicaset.connection-string" and -, maybe this could be the problem ?same here
same here
Able to get it working by adding --version 3.10.3 in my helm install command.
But still getting error with any version after 3.10.3.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.
Most helpful comment
same here