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: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/wget - --no-check-certificate - -q - https://{{ index .Values "smardigo-wordpress" "wordpress" "ingress" "hostname" }}/wp-admin.php restartPolicy: OnFailure