[stable/neo4j] minor improvements to charts (#4880)

* changed values from empty dicts to empty arrays, added sidecars for replicas

* bump version

* addressing PR comments
This commit is contained in:
rjaxin
2018-04-18 13:09:00 -07:00
committed by k8s-ci-robot
parent 7f18c65b04
commit 100cc91598
4 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: neo4j
home: https://www.neo4j.com
version: 0.7.0
version: 0.7.1
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
+2 -2
View File
@@ -84,7 +84,7 @@ spec:
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.core.sidecarContainers }}
{{ toYaml .Values.core.sidecarContainers | indent 6}}
{{ toYaml .Values.core.sidecarContainers | indent 6 }}
{{- end }}
{{- if .Values.imagePullSecret }}
imagePullSecrets:
@@ -92,7 +92,7 @@ spec:
{{- end -}}
{{- if .Values.core.initContainers }}
initContainers:
{{ toYaml .Values.core.initContainers | indent 6}}
{{ toYaml .Values.core.initContainers | indent 6 }}
{{- end }}
volumes:
- name: plugins
@@ -66,9 +66,12 @@ spec:
mountPath: /plugins
securityContext:
privileged: true
{{- if .Values.core.sidecarContainers }}
{{ toYaml .Values.core.sidecarContainers | indent 6 }}
{{- end }}
{{- if .Values.readReplica.initContainers }}
initContainers:
{{ toYaml .Values.readReplica.initContainers | indent 6}}
{{ toYaml .Values.readReplica.initContainers | indent 6 }}
{{- end }}
volumes:
- name: plugins
+8 -3
View File
@@ -56,12 +56,12 @@ core:
# - name: EXTRA_VAR_2
# value: extra-var-value-2
sidecarContainers: {}
sidecarContainers: []
## Additional containers to be added to the Neo4j core pod.
# - name: my-sidecar
# image: nginx:latest
initContainers: {}
initContainers: []
## init containers to run before the Neo4j core pod e.g. to install plugins
# - name: init-plugins
@@ -88,7 +88,12 @@ readReplica:
# - name: EXTRA_VAR_2
# value: extra-var-value-2
initContainers: {}
sidecarContainers: []
## Additional containers to be added to the Neo4j replica pod.
# - name: my-sidecar
# image: nginx:latest
initContainers: []
## init containers to run before the Neo4j replica pod e.g. to install plugins
# - name: init-plugins