5 minutes
This commit is contained in:
parent
84d4f0af07
commit
4d20aeeaac
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ metadata:
|
|||
name: logrotate-cronjob
|
||||
namespace: openbao
|
||||
spec:
|
||||
schedule: "*/10 * * * *"
|
||||
schedule: "*/5 * * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
|
@ -14,7 +14,7 @@ spec:
|
|||
image: skymatic/logrotate:latest
|
||||
securityContext:
|
||||
runAsUser: 100
|
||||
command: ["/bin/sh", "-c"]
|
||||
# command: ["/bin/sh", "-c", && sleep infinity"]
|
||||
volumeMounts:
|
||||
- name: host-log-storage
|
||||
mountPath: /openbao/logs
|
||||
|
|
Loading…
Reference in a new issue