chore: 🧱 manifest.yaml: fix preStop typo

This commit is contained in:
Jérémy Munsch 2024-06-05 13:02:04 +02:00
parent cd85772884
commit efc930a2db
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -184,14 +184,14 @@ spec:
metadata:
labels:
app: ${CI_PROJECT_PATH_SLUG}-app
lifecycle:
PreStop:
exec:
command: ["/bin/sh","-c","kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done"]
spec:
containers:
- name: ${CI_PROJECT_PATH_SLUG}-queue-worker
image: $IMAGE_TAG
lifecycle:
preStop:
exec:
command: ["/bin/sh","-c","kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done"]
resources:
limits:
memory: 512Mi