From f1eeba090b60762b331153bd2c7b07789495a4fc Mon Sep 17 00:00:00 2001 From: tompizmor Date: Mon, 17 Dec 2018 16:29:08 +0100 Subject: [PATCH] [bitnami/zookeeper] Only specify JVMFLAGS env var if they are provided Signed-off-by: tompizmor --- bitnami/zookeeper/Chart.yaml | 2 +- bitnami/zookeeper/templates/statefulset.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bitnami/zookeeper/Chart.yaml b/bitnami/zookeeper/Chart.yaml index 7dea82810..fa1995cad 100644 --- a/bitnami/zookeeper/Chart.yaml +++ b/bitnami/zookeeper/Chart.yaml @@ -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: diff --git a/bitnami/zookeeper/templates/statefulset.yaml b/bitnami/zookeeper/templates/statefulset.yaml index ababc253d..db819aa0a 100644 --- a/bitnami/zookeeper/templates/statefulset.yaml +++ b/bitnami/zookeeper/templates/statefulset.yaml @@ -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 }}