Add ddns
This commit is contained in:
parent
72a2914c24
commit
f4670aa471
@ -6,11 +6,15 @@ spec:
|
||||
schedule: "0 */2 * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
successfulJobsHistoryLimit: 1
|
||||
failedJobsHistoryLimit: 1
|
||||
backoffLimit: 1
|
||||
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: git
|
||||
image: alpine/git
|
||||
image: git
|
||||
command: ["git"]
|
||||
args:
|
||||
- clone
|
||||
@ -39,8 +43,11 @@ spec:
|
||||
name: cloudflare-api
|
||||
key: CLOUDFLARE_EMAIL
|
||||
|
||||
command: ["octodns-sync"]
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- pip install -r /etc/octodns/requirements.txt
|
||||
- "&&"
|
||||
- octodns-sync
|
||||
- --config-file
|
||||
- /etc/octodns/config.yaml
|
||||
#- --doit
|
||||
@ -52,3 +59,4 @@ spec:
|
||||
- name: octodns-config
|
||||
emptyDir: {}
|
||||
restartPolicy: Never
|
||||
|
@ -12,3 +12,7 @@ images:
|
||||
- name: octodns
|
||||
newName: octodns/octodns # has all plugins
|
||||
newTag: "2023.12"
|
||||
|
||||
- name: git
|
||||
newName: alpine/git
|
||||
newTag: "2.43.0"
|
@ -1 +1 @@
|
||||
Subproject commit 0d5d671c5cf778c6efcc04dae0428e0cc63f1d7c
|
||||
Subproject commit b98da54d62778f48024780fb2ffaea64416b6742
|
Loading…
x
Reference in New Issue
Block a user