Relocate wp cronjob to smardigo-helmcharts repository

cherry-pick-9c6aec87
Michael Haehnel 3 years ago
parent c1ec1c68ff
commit a6bebf169d
No known key found for this signature in database
GPG Key ID: D2FA233B52AEC75C

@ -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…
Cancel
Save