Prechádzať zdrojové kódy

chore(helm): delete preStop command

Rory Z 3 rokov pred
rodič
commit
ad37198580

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