mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
roundcube
This commit is contained in:
22
roundcube/roundcubemail-cronjob-cleandb.yaml
Normal file
22
roundcube/roundcubemail-cronjob-cleandb.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: cleandb
|
||||
namesapce: roundcube
|
||||
spec:
|
||||
schedule: "@daily"
|
||||
concurrencyPolicy: Replace
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
name: cleandb
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
containers:
|
||||
- name: roundcubemail
|
||||
image: roundcube/roundcubemail:latest-fpm-alpine
|
||||
imagePullPolicy: ""
|
||||
env: *env
|
||||
args:
|
||||
- bin/cleandb.sh
|
||||
Reference in New Issue
Block a user