From a354464f6e676869f64ec4c37a4161fb04cb4e43 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Thu, 11 Jan 2024 18:26:37 +0100 Subject: [PATCH] try with local directory --- infrastructure/external-dns/cronjob.yaml | 6 ++++-- infrastructure/external-dns/octodns | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/infrastructure/external-dns/cronjob.yaml b/infrastructure/external-dns/cronjob.yaml index de969e9..75d0baf 100644 --- a/infrastructure/external-dns/cronjob.yaml +++ b/infrastructure/external-dns/cronjob.yaml @@ -46,9 +46,11 @@ spec: command: ["/bin/sh", "-c"] args: - >- - pip install -r /etc/octodns/requirements.txt + cd /etc/octodns && - octodns-sync --config-file /etc/octodns/config.yaml + pip install -r ./requirements.txt + && + octodns-sync --config-file ./config.yaml && echo "done" #- --doit diff --git a/infrastructure/external-dns/octodns b/infrastructure/external-dns/octodns index b98da54..f03d350 160000 --- a/infrastructure/external-dns/octodns +++ b/infrastructure/external-dns/octodns @@ -1 +1 @@ -Subproject commit b98da54d62778f48024780fb2ffaea64416b6742 +Subproject commit f03d3508e121bcc672e80aa5ef24cf37b0d94c90