imroc/logrotate:latest
This commit is contained in:
parent
485e772016
commit
b5a515c6f9
1 changed files with 14 additions and 0 deletions
|
@ -22,6 +22,20 @@ server:
|
|||
- name: passwd-volume
|
||||
mountPath: /etc/passwd
|
||||
subPath: passwd
|
||||
- name: logrotate
|
||||
image: imroc/logrotate:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: LOGROTATE_FILE_PATTERN
|
||||
value: "/openbao/logs/openbao/*.log"
|
||||
- name: LOGROTATE_FILESIZE
|
||||
value: "5k"
|
||||
- name: LOGROTATE_FILENUM
|
||||
value: "10"
|
||||
- name: CRON_EXPR
|
||||
value: "*/1 * * * *"
|
||||
- name: CROND_LOGLEVEL
|
||||
value: "7"
|
||||
volumes:
|
||||
- name: logrotate-config-volume
|
||||
configMap:
|
||||
|
|
Loading…
Reference in a new issue