From b4a46f32c2af024918dc4fa1500e0499389fc76e Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 2 Mar 2023 21:24:49 +0100 Subject: [PATCH] fix(emissary): update emissary config patching --- install/emissary-files.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/emissary-files.mk b/install/emissary-files.mk index 090c1db..373d44c 100644 --- a/install/emissary-files.mk +++ b/install/emissary-files.mk @@ -16,7 +16,7 @@ install-emissary-files: cp gitea-dl/emissary-agent_linux_$(EMISSARY_ARCH)/misc/packaging/common/config-agent.yml files/etc/emissary/agent.yml # Patch agent config - tools/yq/bin/yq -i '.agent.controllers.spec.serverUrl = "$${EMISSARY_SERVER_URL}"' files/etc/emissary/agent.yml + tools/yq/bin/yq -i '.agent.serverUrl = "$${EMISSARY_SERVER_URL}"' files/etc/emissary/agent.yml tools/yq/bin/yq -i '.agent.reconciliationInterval = "$${EMISSARY_RECONCILIATION_INTERVAL}"' files/etc/emissary/agent.yml # Copy emissary binary