mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-21 02:56:50 +10:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user