new changes

This commit is contained in:
miwr 2025-04-23 12:01:20 +02:00
parent 1abbd9b646
commit 20a6113403

View file

@ -4,7 +4,7 @@ metadata:
name: logrotate-cronjob
namespace: openbao
spec:
schedule: "*/5 * * * *"
schedule: "*/2 * * * *"
jobTemplate:
spec:
template:
@ -14,7 +14,7 @@ spec:
image: skymatic/logrotate:latest
securityContext:
runAsUser: 100
command: ["/bin/sh", "-c", && sleep 10"]
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf && sleep 10"]
volumeMounts:
- name: host-log-storage
mountPath: /openbao/logs