From abbe732764ecc460332e6c313089e7370759066a Mon Sep 17 00:00:00 2001 From: Adw8 Date: Mon, 21 Oct 2024 11:55:11 +0530 Subject: [PATCH] Keep deployer lrn consistent with api url --- service-provider-setup/deploy-backend.yml | 2 +- service-provider-setup/setup-container-registry.yml | 2 +- .../templates/configs/webapp-deployer-config.env.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/service-provider-setup/deploy-backend.yml b/service-provider-setup/deploy-backend.yml index a6d497e..1abcb2d 100644 --- a/service-provider-setup/deploy-backend.yml +++ b/service-provider-setup/deploy-backend.yml @@ -66,7 +66,7 @@ --laconic-config /home/root/config/laconic.yml \ --api-url https://webapp-deployer-api.pwa.{{ full_domain }} \ --public-key-file /home/root/config/webapp-deployer-api.{{ full_domain }}.pgp.pub \ - --lrn lrn://{{ authority_name }}/deployers/webapp-deployer-api.{{ full_domain }} \ + --lrn lrn://{{ authority_name }}/deployers/webapp-deployer-api.pwa.{{ full_domain }} \ --min-required-payment 0 register: publish_output diff --git a/service-provider-setup/setup-container-registry.yml b/service-provider-setup/setup-container-registry.yml index 8ae1694..f494a8e 100644 --- a/service-provider-setup/setup-container-registry.yml +++ b/service-provider-setup/setup-container-registry.yml @@ -120,7 +120,7 @@ var: daemonsets_output.stdout ignore_errors: yes - + - name: Deploy the container registry command: > laconic-so deployment --dir container-registry start diff --git a/service-provider-setup/templates/configs/webapp-deployer-config.env.j2 b/service-provider-setup/templates/configs/webapp-deployer-config.env.j2 index 4c6d076..34054f1 100644 --- a/service-provider-setup/templates/configs/webapp-deployer-config.env.j2 +++ b/service-provider-setup/templates/configs/webapp-deployer-config.env.j2 @@ -20,7 +20,7 @@ CHECK_INTERVAL=5 FQDN_POLICY="allow" # lrn of the webapp deployer -LRN="lrn://{{ authority_name }}/deployers/webapp-deployer-api.{{ full_domain }}" +LRN="lrn://{{ authority_name }}/deployers/webapp-deployer-api.pwa.{{ full_domain }}" export OPENPGP_PRIVATE_KEY_FILE="webapp-deployer-api.{{ full_domain }}.pgp.key" export OPENPGP_PASSPHRASE="{{ deployer_gpg_passphrase }}" export DEPLOYER_STATE="srv-test/deployments/autodeploy.state"