Преглед изворни кода

chore(helm): delete preStop command

Rory Z пре 3 година
родитељ
комит
ad37198580
1 измењених фајлова са 0 додато и 7 уклоњено
  1. 0 7
      deploy/charts/emqx/templates/StatefulSet.yaml

+ 0 - 7
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 }}