bao audit enable file file_path=/openbao/logs/openbao.log

This commit is contained in:
miwr 2025-03-19 16:25:16 +01:00
parent e7d693465d
commit 1bf5b468bc

View file

@ -1,11 +1,5 @@
server: server:
extraContainers: extraContainers:
- name: init-log-permissions
image: busybox
command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"]
volumeMounts:
- mountPath: /var/log
name: log-storage
- name: log-sidecar - name: log-sidecar
image: alpine:latest image: alpine:latest
command: ["/bin/sh", "-c", " command: ["/bin/sh", "-c", "
@ -43,5 +37,6 @@ server:
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}') bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
rm /tmp/init.txt rm /tmp/init.txt
bao audit enable file file_path=stdout bao audit enable file file_path=stdout
bao audit enable file file_path=/openbao/logs/openbao.log
ui: ui:
enabled: true enabled: true