Skip to content

Commit

Permalink
hotfix: remove overwriting global secret
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipHarald committed Jan 13, 2025
1 parent 7c87511 commit 073f4ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/chicmoz-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ jobs:
MAX_RETRIES=3
RETRY_DELAY=10
kubectl create secret generic global --from-literal=CHICMOZ_AZTEC_RPC=$CHICMOZ_AZTEC_RPC -n chicmoz-prod --dry-run=client -o yaml | kubectl apply -f -
kubectl create secret generic global --from-literal=CHICMOZ_ETHEREUM_RPC_HTTP=$CHICMOZ_ETHEREUM_RPC_HTTP -n chicmoz-prod --dry-run=client -o yaml | kubectl apply -f -
kubectl create secret generic global --from-literal=CHICMOZ_ETHEREUM_RPC_WS=$CHICMOZ_ETHEREUM_RPC_WS -n chicmoz-prod --dry-run=client -o yaml | kubectl apply -f -
kubectl create secret generic global \
--from-literal=CHICMOZ_AZTEC_RPC=$CHICMOZ_AZTEC_RPC \
--from-literal=CHICMOZ_ETHEREUM_RPC_HTTP=$CHICMOZ_ETHEREUM_RPC_HTTP \
--from-literal=CHICMOZ_ETHEREUM_RPC_WS=$CHICMOZ_ETHEREUM_RPC_WS \
-n chicmoz-prod --dry-run=client -o yaml | kubectl apply -f -
for i in $(seq 1 $MAX_RETRIES); do
if bash -x scripts/production/deploy.sh; then
Expand Down

0 comments on commit 073f4ff

Please sign in to comment.