command: ["/bin/sh", "-c", "
while true; do echo 'Hello' sleep 5; done "]
This commit is contained in:
parent
055713e4a5
commit
3d39948468
1 changed files with 7 additions and 1 deletions
|
@ -2,6 +2,12 @@ server:
|
||||||
extraContainers:
|
extraContainers:
|
||||||
- name: log-sidecar
|
- name: log-sidecar
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
command: ["/bin/sh", "-c", "
|
||||||
|
while true; do
|
||||||
|
echo 'Hello'
|
||||||
|
sleep 5;
|
||||||
|
done
|
||||||
|
"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: log-storage
|
- name: log-storage
|
||||||
mountPath: /var/log/
|
mountPath: /var/log/
|
||||||
|
@ -27,7 +33,7 @@ server:
|
||||||
bao audit enable file file_path=stdout
|
bao audit enable file file_path=stdout
|
||||||
touch /var/log/openbao.log
|
touch /var/log/openbao.log
|
||||||
chmod 644 /var/log/openbao.log
|
chmod 644 /var/log/openbao.log
|
||||||
chown openbao:openbao /var/1og/openbao_audit.log
|
chown openbao:openbao /var/log/openbao.log
|
||||||
bao audit enable file file_path=/var/log/openbao.log
|
bao audit enable file file_path=/var/log/openbao.log
|
||||||
rm /tmp/init.txt
|
rm /tmp/init.txt
|
||||||
ui:
|
ui:
|
||||||
|
|
Loading…
Reference in a new issue