From a7598e28b00e59d74e78483dcf047332054f0ac3 Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Fri, 6 Oct 2023 13:56:14 +0100 Subject: [PATCH 1/2] still allow testnet3 secrets --- .../infra/config/environments/testnet4/infrastructure.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/typescript/infra/config/environments/testnet4/infrastructure.ts b/typescript/infra/config/environments/testnet4/infrastructure.ts index 99a694a61c..9429f4782d 100644 --- a/typescript/infra/config/environments/testnet4/infrastructure.ts +++ b/typescript/infra/config/environments/testnet4/infrastructure.ts @@ -35,8 +35,10 @@ export const infrastructure: InfrastructureConfig = { accessibleGCPSecretPrefixes: [ 'hyperlane-testnet-', 'testnet-', + 'hyperlane-testnet3-', + 'rc-testnet3-', + 'testnet3-', 'hyperlane-testnet4-', - 'flowcarbon-testnet4-', 'rc-testnet4-', 'testnet4-', ], From 3ea5b00df1b0492e27784af87019ff06967c0c2c Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Fri, 6 Oct 2023 14:31:24 +0100 Subject: [PATCH 2/2] Use mustFromJson --- rust/helm/hyperlane-agent/templates/external-secret.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/helm/hyperlane-agent/templates/external-secret.yaml b/rust/helm/hyperlane-agent/templates/external-secret.yaml index 023747a915..afe217bd06 100644 --- a/rust/helm/hyperlane-agent/templates/external-secret.yaml +++ b/rust/helm/hyperlane-agent/templates/external-secret.yaml @@ -27,7 +27,7 @@ spec: */}} {{- range .Values.hyperlane.chains }} {{- if not .disabled }} - HYP_BASE_CHAINS_{{ .name | upper }}_CUSTOMRPCURLS: {{ printf "'{{ .%s_rpcs | fromJson | join \",\" }}'" .name }} + HYP_BASE_CHAINS_{{ .name | upper }}_CUSTOMRPCURLS: {{ printf "'{{ .%s_rpcs | mustFromJson | join \",\" }}'" .name }} {{- end }} {{- end }} data: