Mount emptyDir for ZooKeeper

If persistence is disabled, mount the emptyDir volume instead.

Signed-off-by: Simon Rüegg <simon.ruegg@vshn.ch>
This commit is contained in:
Simon Rüegg
2019-05-07 09:43:52 +02:00
parent 0633d1aa76
commit ade41aee8a
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: zookeeper
version: 1.7.0
version: 1.7.1
appVersion: 3.4.14
description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications.
keywords:
@@ -157,10 +157,8 @@ spec:
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
{{- end }}
volumeMounts:
{{- if .Values.persistence.enabled }}
- name: data
mountPath: /bitnami/zookeeper
{{ end }}
{{- if .Values.config }}
- name: config
mountPath: /opt/bitnami/zookeeper/conf/zoo.cfg