File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ job "staking-rewards-controller-stage" {
5656 REWARDS_POOL_KEY="{{.Data.data.STAKING_REWARDS_CONTROLLER_KEY}}"
5757 BUNDLER_NETWORK="{{.Data.data.BUNDLER_NETWORK}}"
5858 BUNDLER_CONTROLLER_KEY="{{.Data.data.STAKING_REWARDS_CONTROLLER_KEY}}"
59- EVM_JSON_RPC="{{.Data.data.EVM_JSON_RPC}}"
6059 CONSUL_TOKEN_CONTROLLER_CLUSTER="{{.Data.data.CONSUL_TOKEN_CONTROLLER_CLUSTER}}"
6160 {{end}}
6261
@@ -77,6 +76,12 @@ job "staking-rewards-controller-stage" {
7776 {{- end }}
7877 ONIONOO_REQUEST_TIMEOUT="60000"
7978 ONIONOO_REQUEST_MAX_REDIRECTS="3"
79+
80+ {{ $apiKeyPrefix := "api_key_" }}
81+ {{ $allocIndex := env "NOMAD_ALLOC_INDEX" }}
82+ {{ with secret "kv/jsonrpc/stage/operator-registry-controller/infura/eth" }}
83+ EVM_JSON_RPC="https://sepolia.infura.io/v3/{{ index .Data.data (print $apiKeyPrefix $allocIndex) }}"
84+ {{ end }}
8085 EOH
8186 destination = " secrets/file.env"
8287 env = true
You can’t perform that action at this time.
0 commit comments