neo4j-contrib / neo4j-helm

Helm Charts for running Neo4j on Kubernetes [DEPRECATED]
https://neo4j-contrib.github.io/neo4j-helm/user-guide/USER-GUIDE.html
Apache License 2.0
88 stars 81 forks source link

Specify a specific version of plugin to install #225

Open brunocous opened 3 years ago

brunocous commented 3 years ago

According to the configuration documentation, the list of specifiable plugins can be found in https://github.com/neo4j/docker-neo4j/blob/master/neo4jlabs-plugins.json. Digging deeper, it defines a mapping from neo4j version to specific plugin version.

My questions are:

brunocous commented 3 years ago

I have found the following piece of code in the values.yaml. Will try it now.

initContainers: []
  ## init containers to run before the Neo4j replica pod e.g. to install custom plugins
  ## They can also be used to restore from last available backup, to ensure that newly joining
  ## core members have less TX history to catch up on before joining the cluster.
  ## Note that this is specifically *not* needed for APOC, which is included by default.
  # - name: init-plugins
  #   image: "appropriate/curl:latest"
  #   imagePullPolicy: "IfNotPresent"
  #   volumeMounts:
  #   - name: plugins
  #     mountPath: /plugins
  #   command:
  #     - "/bin/sh"
  #     - "-c"
  #     - |
  #       curl -L https://somesite.com/path/to/plugin.jar -O
  #       cp plugin.jar /plugins/