apiVersion: batch/v1 kind: CronJob metadata: name: wp-cron spec: schedule: "30 * * * *" concurrencyPolicy: Forbid jobTemplate: spec: template: spec: containers: - name: wp-cron image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/wget - --no-check-certificate - -q - "https://{{ .Values.smardigo-wordpress.wordpress.ingress.hostname }}/wp-admin.php" restartPolicy: OnFailure