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