diff --git a/devnet/Makefile b/devnet/Makefile index 7442ffcd..9fad9394 100644 --- a/devnet/Makefile +++ b/devnet/Makefile @@ -2,6 +2,7 @@ ARCH_ARM64 := $(shell if [ "$$(uname -m)" = "arm64" ] || [ "$$(uname -m)" = "aarch64" ]; then echo "-arm64"; else echo ""; fi) ARCH_OTHER := $(shell if [ "$$(uname -m)" != "arm64" ] && [ "$$(uname -m)" != "aarch64" ]; then echo "scroll-"; else echo ""; fi) L2_IMAGE_TAG := $(ARCH_OTHER)v5.5.17$(ARCH_ARM64) +L1_RPC_HOST := l1-rpc.scrollsdk bootstrap: echo "Pulling helm chart..." @@ -17,7 +18,10 @@ install: helm upgrade -i scroll-sdk scroll-sdk/ \ --set l2-rpc.image.tag=$(L2_IMAGE_TAG) \ --set l2-sequencer.image.tag=$(L2_IMAGE_TAG) \ - --set l2-bootnode.image.tag=$(L2_IMAGE_TAG) + --set l2-bootnode.image.tag=$(L2_IMAGE_TAG) \ + --set l1-devnet.ingress.main.hosts[0].host=$(L1_RPC_HOST) \ + --set l1-devnet.ingress.main.hosts[0].paths[0].path=/ \ + --set l1-devnet.ingress.main.hosts[0].paths[0].pathType=Prefix reload-env-files: ./create-env-files.sh scroll-sdk @@ -29,4 +33,7 @@ upgrade: helm upgrade scroll-sdk scroll-sdk/ \ --set l2-rpc.image.tag=$(L2_IMAGE_TAG) \ --set l2-sequencer.image.tag=$(L2_IMAGE_TAG) \ - --set l2-bootnode.image.tag=$(L2_IMAGE_TAG) \ No newline at end of file + --set l2-bootnode.image.tag=$(L2_IMAGE_TAG) \ + --set l1-devnet.ingress.main.hosts[0].host=$(L1_RPC_HOST) \ + --set l1-devnet.ingress.main.hosts[0].paths[0].path=/ \ + --set l1-devnet.ingress.main.hosts[0].paths[0].pathType=Prefix \ No newline at end of file