From ad37198580bea8c8a6b0646e0aa7d3f520fcb8ca Mon Sep 17 00:00:00 2001 From: Rory Z Date: Wed, 15 Jun 2022 10:37:48 +0800 Subject: [PATCH] chore(helm): delete preStop command --- deploy/charts/emqx/templates/StatefulSet.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deploy/charts/emqx/templates/StatefulSet.yaml b/deploy/charts/emqx/templates/StatefulSet.yaml index 36e362e23..02c2ec02c 100644 --- a/deploy/charts/emqx/templates/StatefulSet.yaml +++ b/deploy/charts/emqx/templates/StatefulSet.yaml @@ -150,13 +150,6 @@ spec: initialDelaySeconds: 60 periodSeconds: 30 failureThreshold: 10 - lifecycle: - preStop: - exec: - command: - - "/opt/emqx/bin/emqx_ctl" - - "cluster" - - "leave" {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}