busybox
This commit is contained in:
parent
57779745e9
commit
e4611e967e
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
server:
|
||||
extraContainers:
|
||||
- name: log-sidecar
|
||||
image: curlimages/curl:latest
|
||||
command: ["/bin/sh", "-c", "while kill -0 $(pidof openbao) 2>/dev/null; do sleep 1; done; echo 'OpenBao has crashed - giving Alloy time to collect logs...'; sleep 20"]
|
||||
image: busybox
|
||||
command: ["/bin/sh", "-c", "while kill -0 $(pidof openbao) 2>/dev/null; do sleep 1; done; echo 'OpenBao has crashed - giving Alloy time to collect logs...' >> var/log/openbao.log; sleep 20"]
|
||||
volumeMounts:
|
||||
- name: log-storage
|
||||
mountPath: /var/log/
|
||||
|
|
Loading…
Reference in a new issue