mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-17 20:04:45 +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:
|
||||
# If a container has a preStop hook configured, that runs before the container enters the Terminated state.
|
||||
{{- 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 }}
|
||||
preStop:
|
||||
exec:
|
||||
|
|
Loading…
Add table
Reference in a new issue