Skip to content

Commit 91a4757

Browse files
committed
fix: preStop hook log as container log
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
1 parent aa3eb73 commit 91a4757

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy/install.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,9 @@ spec:
401401
lifecycle:
402402
preStop:
403403
exec:
404-
command: ["/app/civo-csi", "pre-stop"]
404+
- /bin/sh
405+
- -c
406+
- unbuffer /app/civo-csi pre-stop > /proc/1/fd/1
405407
env:
406408
- name: CIVO_API_KEY
407409
valueFrom:

0 commit comments

Comments
 (0)