Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-06-2022 08:31 AM
Hi dear experts.
I am trying to start neo4j in k8s using helm.
Idea: start neo4j usign standart chart with default vabiables file. Add to variables additional volumes (Configmaps) to copy some additional scripts and DB files (cypher)m which will be used by this scripts.
Problem: Got error *(in any variations):
neo4j-standalone/templates/_volumeTemplate.tpl:201:85: executing "neo4j.volumes.validation" at <.Values.volumes.data>: can't evaluate field data in type interface {}
My simple file variables when use Volumes or additionalVolumes with differnt directories not only /usr... :
neo4j:
resources:
cpu: "0.5"
memory: "2Gi"
volumes:
- data:
mode: defaultStorageClass
defaultStorageClass:
requests:
storage: 2Gi
- name: nginx-conf
configMap:
name: configmap4
VolumeMounts:
- mountPath: /usr/share/nginx/html/index.html
name: nginx-conf
subPath: index.html
config:
dbms.connector.bolt.enabled: "true"
dbms.ssl.policy.bolt.client_auth: "NONE"
dbms.ssl.policy.https.client_auth: "NONE"
dbms.security.procedures.unrestricted: "apoc.*"
dbms.connector.https.advertised_address: "localhost:7473"
dbms.connector.bolt.advertised_address: "localhost:7687"
dbms.transaction.timeout: "59s"
AUTH: "neo4j/LocalDev"
cypher.default_language_version: "3.5"
acceptLicenseAgreement: "yes"
Probably there is another variant to add this file to neo4j without changing chart (template files) ?
All the sessions of the conference are now available online