mirror of
https://github.com/KevinMidboe/cloudflare-ddns.git
synced 2025-10-29 17:40:17 +00:00
Renamed cronjob config file
This commit is contained in:
20
.kubernetes/cronjob.yml
Normal file
20
.kubernetes/cronjob.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: cloudflare-ddns-cronjob
|
||||
namespace: cloudflare-ddns
|
||||
spec:
|
||||
schedule: "2 * * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: cf-ddns
|
||||
image: ${IMAGE}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: secret-env-values
|
||||
imagePullPolicy: IfNotPresent
|
||||
restartPolicy: OnFailure
|
||||
|
||||
Reference in New Issue
Block a user