mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/neo4j] Fix dataVolume Persistence (#4046)
* make data volume persistent + make subPath optional * fix README format * change minor version
This commit is contained in:
committed by
k8s-ci-robot
parent
494b80b66a
commit
60ddfec894
@@ -1,6 +1,6 @@
|
||||
name: neo4j
|
||||
home: https://www.neo4j.com
|
||||
version: 0.6.1
|
||||
version: 0.7.0
|
||||
appVersion: 3.2.3
|
||||
description: Neo4j is the world's leading graph database
|
||||
icon: http://info.neo4j.com/rs/773-GON-065/images/neo4j_logo.png
|
||||
|
||||
@@ -64,6 +64,7 @@ their default values.
|
||||
| `core.persistentVolume.storageClass` | Storage class of backing PVC | `standard` (uses beta storage class annotation) |
|
||||
| `core.persistentVolume.size` | Size of data volume | `10Gi` |
|
||||
| `core.persistentVolume.mountPath` | Persistent Volume mount root path | `/data` |
|
||||
| `core.persistentVolume.subPath` | Subdirectory of the volume to mount | `nil` |
|
||||
| `core.persistentVolume.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `readReplica.numberOfServers` | Number of machines in READ_REPLICA mode | `0` |
|
||||
| `readReplica.initContainers` | Init containers to add to the replica pod. Example use case is a script that installs the APOC library | `{}` |
|
||||
|
||||
@@ -76,8 +76,9 @@ spec:
|
||||
volumeMounts:
|
||||
- name: datadir
|
||||
mountPath: "{{ .Values.core.persistentVolume.mountPath }}"
|
||||
subPath: "{{ .Values.core.persistentVolume.subPath }}"
|
||||
volumeMounts:
|
||||
{{- if .Values.core.persistentVolume.subPath }}
|
||||
subPath: {{ .Values.core.persistentVolume.subPath }}
|
||||
{{- end }}
|
||||
- name: plugins
|
||||
mountPath: /plugins
|
||||
resources:
|
||||
|
||||
@@ -46,7 +46,7 @@ core:
|
||||
## Subdirectory of core server data Persistent Volume to mount
|
||||
## Useful if the volume's root directory is not empty
|
||||
##
|
||||
subPath: ""
|
||||
## subPath: ""
|
||||
|
||||
## Pass extra environment variables to the Neo4j container.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user