You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prodwork01-mobene-deployment/templates/cronjob_wordpress.yaml

26 lines
643 B
YAML

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