Added cronjob that checks for new docker images once a day

This commit is contained in:
Florian 2025-10-18 21:48:52 +02:00
parent e23046dac3
commit b9c260dd27
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: check-pihole-updates
namespace: app-notifications
spec:
schedule: "0 7 * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: curl
image: curlimages/curl:latest
command: ["curl"]
args:
- -s
- -X
- GET
- http://service-docker-repository-query-internal:5000/pihole
restartPolicy: OnFailure

View File

@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: check-suwayomi-updates
namespace: app-notifications
spec:
schedule: "0 8 * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: curl
image: curlimages/curl:latest
command: ["curl"]
args:
- -s
- -X
- GET
- http://service-docker-repository-query-internal:5000/suwayomi
restartPolicy: OnFailure