0 * * * *
This commit is contained in:
parent
d1355e47c8
commit
58fd63da54
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 2M
|
size 50M
|
||||||
rotate 7
|
rotate 7
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
|
|
|
@ -4,7 +4,7 @@ metadata:
|
||||||
name: logrotate-cronjob
|
name: logrotate-cronjob
|
||||||
namespace: openbao
|
namespace: openbao
|
||||||
spec:
|
spec:
|
||||||
schedule: "*/2 * * * *"
|
schedule: "0 * * * *"
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
|
Reference in a new issue