mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-10-06 05:14:36 +08:00
test with no prestop
This commit is contained in:
parent
a27bf5a4ae
commit
99e0aa2392
1 changed files with 0 additions and 6 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue