From 86336c2cbe9365d26f00d41948caad80927a26fd Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Sun, 17 Dec 2023 22:54:29 -0600 Subject: [PATCH 1/3] perhaps authorized_key is absent for activation account --- utils/config-generator.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/utils/config-generator.py b/utils/config-generator.py index 52a1bfa36..7c5a6feb3 100755 --- a/utils/config-generator.py +++ b/utils/config-generator.py @@ -347,10 +347,9 @@ def expose_secret_key(account_name): as is the case in Octez client's "secret_keys" file. """ if MY_POD_TYPE == "activating": - return account_name in [ - NETWORK_CONFIG["activation_account_name"], - NETWORK_CONFIG["activation_account_authorized_key"] - ] + if "activation_account_authorized_key" in NETWORK_CONFIG: + return account_name == NETWORK_CONFIG["activation_account_authorized_key"] + return account_name == NETWORK_CONFIG["activation_account_name"] if MY_POD_TYPE == "signing": return account_name in MY_POD_CONFIG.get("accounts") From 84805c78eac0d40cfe12bf11a8a8ea5c77ba91e3 Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Sun, 17 Dec 2023 23:22:44 -0600 Subject: [PATCH 2/3] pull most recent container --- charts/tezos/templates/activate-job.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tezos/templates/activate-job.yaml b/charts/tezos/templates/activate-job.yaml index a2c1060bc..579e7ebbb 100644 --- a/charts/tezos/templates/activate-job.yaml +++ b/charts/tezos/templates/activate-job.yaml @@ -13,7 +13,7 @@ spec: {{- include "tezos.init_container.chain_initiator" $ | indent 8 }} initContainers: - image: {{ .Values.tezos_k8s_images.utils }} - imagePullPolicy: IfNotPresent + imagePullPolicy: Always name: config-generator args: - config-generator From ce130b3973194ddb5e9a59a5fb328aa970afa8ed Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Wed, 3 Jan 2024 15:46:46 -0800 Subject: [PATCH 3/3] typo --- charts/tezos/templates/octez-baker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tezos/templates/octez-baker.yaml b/charts/tezos/templates/octez-baker.yaml index 0c2cefbcb..6a7053d3b 100644 --- a/charts/tezos/templates/octez-baker.yaml +++ b/charts/tezos/templates/octez-baker.yaml @@ -64,7 +64,7 @@ spec: value: {{ join " " $v.bake_using_accounts }} {{- if $v.operations_pool | default false }} - name: OPERATIONS_POOL - value: "{{ $v.oprations_pool }}" + value: "{{ $v.operations_pool }}" {{- end }} {{- if $v.dal_node_rpc_url | default false }} - name: DAL_NODE_RPC_URL