mirror of
https://github.com/KevinMidboe/cloudflare-ddns.git
synced 2025-10-29 17:40:17 +00:00
Define cronjob
This commit is contained in:
@@ -14,23 +14,3 @@ spec:
|
|||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
|
|
||||||
|
|
||||||
apiVersion: batch/v1
|
|
||||||
kind: Job
|
|
||||||
metadata:
|
|
||||||
name: cloudflare-ddns-job
|
|
||||||
labels:
|
|
||||||
jobgroup: cf-ddns-job
|
|
||||||
namespace: cloudflare-ddns
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: kubejob
|
|
||||||
labels:
|
|
||||||
jobgroup: cf-ddns-job
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: cf-ddns
|
|
||||||
image: ${IMAGE}
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
restartPolicy: OnFailure
|
|
||||||
|
|||||||
Reference in New Issue
Block a user