Просмотр исходного кода

chore(helm): delete preStop command

Rory Z 3 лет назад
Родитель
Сommit
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
             initialDelaySeconds: 60
             periodSeconds: 30
             periodSeconds: 30
             failureThreshold: 10
             failureThreshold: 10
-          lifecycle:
-            preStop:
-              exec:
-                command:
-                  - "/opt/emqx/bin/emqx_ctl"
-                  - "cluster"
-                  - "leave"
     {{- with .Values.nodeSelector }}
     {{- with .Values.nodeSelector }}
       nodeSelector:
       nodeSelector:
         {{- toYaml . | nindent 8 }}
         {{- toYaml . | nindent 8 }}