From 8937d63254a4363325c2a8b22bbd06826b7a81eb Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Wed, 13 Dec 2023 00:20:59 -0800 Subject: [PATCH] fix wrong case statement --- charts/tezos/templates/octez-dal-slot-injector.yaml | 2 +- utils/config-generator.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/tezos/templates/octez-dal-slot-injector.yaml b/charts/tezos/templates/octez-dal-slot-injector.yaml index 363f9df15..a876b0889 100644 --- a/charts/tezos/templates/octez-dal-slot-injector.yaml +++ b/charts/tezos/templates/octez-dal-slot-injector.yaml @@ -125,6 +125,6 @@ spec: - ReadWriteOnce resources: requests: - storage: "15Gi" + storage: "1Gi" --- {{- end }} diff --git a/utils/config-generator.py b/utils/config-generator.py index 82ebc248e..0a4b28de3 100755 --- a/utils/config-generator.py +++ b/utils/config-generator.py @@ -370,10 +370,10 @@ def expose_secret_key(account_name): if MY_POD_TYPE == "signing": return account_name in MY_POD_CONFIG.get("accounts") - if MY_POD_TYPE in [ "rollup", "slot-injector" ]: + if MY_POD_TYPE == "rollup": return account_name == MY_POD_CONFIG.get("operator_account") if MY_POD_TYPE == "slot-injector": - # deploy all secret keys + # deploy secret key for injector account return account_name == os.environ["INJECTOR_ACCOUNT"] if MY_POD_TYPE in ["node", "baker"]: