diff --git a/helm-charts/aztec-network/templates/anvil.deployment.yaml b/helm-charts/aztec-network/templates/anvil.deployment.yaml index 09066afb37b..337944ab3da 100644 --- a/helm-charts/aztec-network/templates/anvil.deployment.yaml +++ b/helm-charts/aztec-network/templates/anvil.deployment.yaml @@ -23,7 +23,6 @@ spec: command: ["/bin/sh", "-c"] args: - | - ARGS=""; [ -n "$FORK_URL" ] && ARGS="$ARGS --fork-url $FORK_URL"; [ -n "$FORK_BLOCK_NUMBER" ] && ARGS="$ARGS --fork-block-number $FORK_BLOCK_NUMBER"; echo anvil -p $ANVIL_PORT --host 0.0.0.0 --chain-id {{ .Values.ethereum.chainId }} $ARGS; @@ -38,6 +37,8 @@ spec: value: {{ .Values.ethereum.forkBlockNumber | quote }} - name: ANVIL_PORT value: {{ .Values.ethereum.service.port | quote }} + - name: ARGS + value: {{ .Values.ethereum.args | quote }} readinessProbe: exec: command: diff --git a/helm-charts/aztec-network/values.yaml b/helm-charts/aztec-network/values.yaml index 9fc470cbcd8..cc82820c8c9 100644 --- a/helm-charts/aztec-network/values.yaml +++ b/helm-charts/aztec-network/values.yaml @@ -47,6 +47,7 @@ ethereum: chainId: 31337 forkUrl: "" forkBlockNumber: "" + args: "" service: type: ClusterIP port: 8545