bao audit enable file file_path=/openbao/logs/openbao.log
This commit is contained in:
parent
e7d693465d
commit
1bf5b468bc
1 changed files with 1 additions and 6 deletions
|
@ -1,11 +1,5 @@
|
|||
server:
|
||||
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
|
||||
image: alpine:latest
|
||||
command: ["/bin/sh", "-c", "
|
||||
|
@ -43,5 +37,6 @@ server:
|
|||
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
|
||||
rm /tmp/init.txt
|
||||
bao audit enable file file_path=stdout
|
||||
bao audit enable file file_path=/openbao/logs/openbao.log
|
||||
ui:
|
||||
enabled: true
|
Loading…
Reference in a new issue