[bitnami/zookeeper] Only specify JVMFLAGS env var if they are provided

Signed-off-by: tompizmor <tompizmor@gmail.com>
This commit is contained in:
tompizmor
2018-12-17 16:29:08 +01:00
parent 79f6b317c7
commit f1eeba090b
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: zookeeper
version: 1.2.0
version: 1.2.1
appVersion: 3.4.12
description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications.
keywords:
@@ -119,8 +119,10 @@ spec:
{{- else }}
value: "no"
{{- end }}
{{- if .Values.jvmFlags }}
- name: JVMFLAGS
value: {{ .Values.jvmFlags | quote }}
{{- end }}
ports:
- name: client
containerPort: {{ .Values.service.port }}