test with no prestop

This commit is contained in:
Jonathon Beauregard II 2022-12-05 11:35:55 -08:00
parent a27bf5a4ae
commit 99e0aa2392

View file

@ -73,12 +73,6 @@ spec:
lifecycle: lifecycle:
# If a container has a preStop hook configured, that runs before the container enters the Terminated state. # If a container has a preStop hook configured, that runs before the container enters the Terminated state.
{{- if .Values.metrics.enabled }} {{- if .Values.metrics.enabled }}
preStop:
exec:
command:
- bash
- -c
- touch /tmp/container_is_terminating && echo "Flushing pending queue..." && postqueue -f; sleep 10s; killall5 -15 supervisord
{{- else }} {{- else }}
preStop: preStop:
exec: exec: