This commit is contained in:
miwr 2025-04-02 11:03:54 +02:00
parent 5db72e2dc0
commit 1a85de6cda
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ metadata:
data:
logrotate.conf: |
/openbao/logs/openbao/*.log {
size 1M
size 5k
rotate 7
compress
missingok

View file

@ -14,7 +14,7 @@ spec:
image: skymatic/logrotate:latest
securityContext:
runAsUser: 100
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf"]
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf && sleep 1000000"]
volumeMounts:
- name: host-log-storage
mountPath: /openbao/logs