Skip to content

Commit

Permalink
Update env var for container
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeannette committed Oct 19, 2023
1 parent 9943a1a commit b76817b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
9 changes: 1 addition & 8 deletions chief_keeper/chief_keeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,6 @@ def __init__(self, args: list, **kwargs):
"--debug", dest="debug", action="store_true", help="Enable debug output"
)

parser.add_argument(
"--ethgasstation-api-key",
type=str,
default=None,
help="ethgasstation API key",
)

parser.add_argument(
"--blocknative-api-key",
type=str,
Expand All @@ -139,7 +132,7 @@ def __init__(self, args: list, **kwargs):
"--gas-initial-multiplier",
type=str,
default=1.0,
help="ethgasstation API key",
help="gas multiplier",
)
parser.add_argument(
"--gas-reactive-multiplier",
Expand Down
4 changes: 4 additions & 0 deletions deploy/production/chief-keeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ env:
type: parameterStore
name: secret-pass-mainnet
parameter_name: /eks/maker-prod/chief-keeper/secret-pass-mainnet
BLOCKNATIVE_API_KEY:
type: parameterStore
name: blocknative-api-key
parameter_name: /eks/maker-prod/chief-keeper/blocknative-api-key
externalSecrets:
clusterSecretStoreName: maker-prod
livenessProbe:
Expand Down
3 changes: 2 additions & 1 deletion run-chief-keeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ exec $dir/bin/chief-keeper \
--network "${BLOCKCHAIN_NETWORK}" \
--eth-from "${ETH_FROM_ADDRESS}" \
--eth-key "${ETH_ACCOUNT_KEY}" \
--chief-deployment-block "${CHIEF_DEPLOYMENT_BLOCK}"
--chief-deployment-block "${CHIEF_DEPLOYMENT_BLOCK}" \
--blocknative-api-key "${BLOCKNATIVE_API_KEY}"

0 comments on commit b76817b

Please sign in to comment.