5k
This commit is contained in:
parent
5db72e2dc0
commit
1a85de6cda
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ metadata:
|
||||||
data:
|
data:
|
||||||
logrotate.conf: |
|
logrotate.conf: |
|
||||||
/openbao/logs/openbao/*.log {
|
/openbao/logs/openbao/*.log {
|
||||||
size 1M
|
size 5k
|
||||||
rotate 7
|
rotate 7
|
||||||
compress
|
compress
|
||||||
missingok
|
missingok
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
image: skymatic/logrotate:latest
|
image: skymatic/logrotate:latest
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 100
|
runAsUser: 100
|
||||||
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf"]
|
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf && sleep 1000000"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: host-log-storage
|
- name: host-log-storage
|
||||||
mountPath: /openbao/logs
|
mountPath: /openbao/logs
|
||||||
|
|
Loading…
Reference in a new issue