From 1f3139d07b777bf64fdf522ce5f8a186136b4ab5 Mon Sep 17 00:00:00 2001 From: Aster Anto Date: Mon, 3 Sep 2018 17:30:55 +0100 Subject: [PATCH] [incubator/zookeeper]: incorrect terminationGracePeriodSeconds element (#7262) * terminationGracePeriodSeconds on template spec rather than StatefulSet spec Signed-off-by: Aster Anto * [incubator/zookeeper] version bump to 1.1.2 Signed-off-by: Aster Anto --- incubator/zookeeper/Chart.yaml | 2 +- incubator/zookeeper/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/zookeeper/Chart.yaml b/incubator/zookeeper/Chart.yaml index b110286983..e119a27cce 100644 --- a/incubator/zookeeper/Chart.yaml +++ b/incubator/zookeeper/Chart.yaml @@ -1,6 +1,6 @@ name: zookeeper home: https://zookeeper.apache.org/ -version: 1.1.1 +version: 1.1.2 appVersion: 3.4.10 description: Centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. diff --git a/incubator/zookeeper/templates/statefulset.yaml b/incubator/zookeeper/templates/statefulset.yaml index 14d348fb5b..7a5a0a3698 100644 --- a/incubator/zookeeper/templates/statefulset.yaml +++ b/incubator/zookeeper/templates/statefulset.yaml @@ -11,7 +11,6 @@ metadata: spec: serviceName: {{ template "zookeeper.fullname" . }}-headless replicas: {{ .Values.replicaCount }} - terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} selector: matchLabels: app: {{ template "zookeeper.name" . }} @@ -39,6 +38,7 @@ spec: {{- end }} {{- end }} spec: + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- if .Values.schedulerName }} schedulerName: "{{ .Values.schedulerName }}" {{- end }}