1M
This commit is contained in:
parent
c9d72e9f90
commit
fc6ee8bcae
2 changed files with 2 additions and 9 deletions
|
@ -21,13 +21,6 @@ spec:
|
|||
set -e
|
||||
mkdir -p /var/log/openbao
|
||||
chown 100:100 /var/log/openbao
|
||||
chmod o+rwx /etc/passwd
|
||||
chmod o+rwx /etc/group
|
||||
chmod o+rwx /var/log/openbao
|
||||
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
|
||||
echo "logrotate:x:100:" >> /etc/group
|
||||
mkdir -p /home/logrotate
|
||||
# chown 100:100 /var/lib
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
volumeMounts:
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
data:
|
||||
logrotate.conf: |
|
||||
/openbao/logs/openbao/*.log {
|
||||
size 100M
|
||||
size 1M
|
||||
rotate 7
|
||||
compress
|
||||
delaycompress
|
||||
|
|
Loading…
Reference in a new issue