Adding WP Cronjob here

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

@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.12
version: 0.1.13
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.11"
appVersion: "0.1.12"
dependencies:
- name: tenant
@ -34,5 +34,5 @@ dependencies:
version: 0.1.5
repository: oci://prodnso-harbor-01.smardigo.digital/smardigo
- name: smardigo-wordpress
version: 0.1.13
version: 0.1.14
repository: oci://prodnso-harbor-01.smardigo.digital/smardigo

@ -0,0 +1,21 @@
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

@ -108,4 +108,3 @@ smardigo-wordpress:
wp plugin install https://updraftplus.com/wp-content/uploads/updraftplus.zip --activate-network
ingress:
hostname: connect-wordpress-nsodev-prodwork01.smardigo.digital
Loading…
Cancel
Save