Skip to content

Commit

Permalink
fix wrong case statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Dec 13, 2023
1 parent 748a045 commit 8937d63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/tezos/templates/octez-dal-slot-injector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: "15Gi"
storage: "1Gi"
---
{{- end }}
4 changes: 2 additions & 2 deletions utils/config-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down

0 comments on commit 8937d63

Please sign in to comment.