Relocate wp cronjob to smardigo-helmcharts repository
parent
c1ec1c68ff
commit
a6bebf169d
@ -1,25 +0,0 @@
|
|||||||
apiVersion: batch/v1
|
|
||||||
kind: CronJob
|
|
||||||
metadata:
|
|
||||||
name: wp-cron
|
|
||||||
spec:
|
|
||||||
schedule: "30 * * * *"
|
|
||||||
concurrencyPolicy: Forbid
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
workload: cronjob
|
|
||||||
type: wordpress
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: wp-cron
|
|
||||||
image: rancher/curlimages-curl:7.73.0
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
args:
|
|
||||||
- -s
|
|
||||||
- -o
|
|
||||||
- /dev/null
|
|
||||||
- https://{{ index .Values "smardigo-wordpress" "wordpress" "ingress" "hostname" }}/wp-cron.php
|
|
||||||
restartPolicy: OnFailure
|
|
||||||
Loading…
Reference in New Issue