From 8f8d06884e04dec15157576d90c21e77308c5968 Mon Sep 17 00:00:00 2001 From: DK Date: Tue, 14 Nov 2023 16:21:57 -0800 Subject: [PATCH] cleanup --- Dockerfile.dev | 2 ++ Tiltfile | 8 ++------ localnet/kubernetes/values-appgateserver.yaml | 4 ++-- localnet/kubernetes/values-relayer.yaml | 0 localnet/kubernetes/values-relayminer.yaml | 2 ++ 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 localnet/kubernetes/values-relayer.yaml create mode 100644 localnet/kubernetes/values-relayminer.yaml diff --git a/Dockerfile.dev b/Dockerfile.dev index 2d10955e0..87b6d5198 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -19,5 +19,7 @@ RUN mv /poktroll/bin/poktrolld /usr/bin/poktrolld EXPOSE 8545 EXPOSE 8546 +EXPOSE 8547 +EXPOSE 8548 ENTRYPOINT ["ignite"] diff --git a/Tiltfile b/Tiltfile index 442e702f4..95e8c9a6b 100644 --- a/Tiltfile +++ b/Tiltfile @@ -33,10 +33,6 @@ if localnet_config["helm_chart_local_repo"]["enabled"]: print("Using local helm chart repo " + helm_chart_local_repo) chart_prefix = helm_chart_local_repo + "/charts/" - # sequencer_chart = helm_chart_local_repo + "/charts/poktroll-sequencer" - # poktroll_chart = helm_chart_local_repo + "/charts/poktroll" - - # Import files into Kubernetes ConfigMap def read_files_from_directory(directory): files = listdir(directory) @@ -136,7 +132,7 @@ helm_resource( ) helm_resource( "appgateservers", - poktroll_chart, + chart_prefix + "appgate-server", flags=[ "--values=./localnet/kubernetes/values-common.yaml", "--values=./localnet/kubernetes/values-appgateserver.yaml", @@ -162,7 +158,7 @@ k8s_resource( "relayminers", labels=["blockchains"], resource_deps=["sequencer"], - port_forwards=["8545", "8546", "40005"], + port_forwards=["8548", "40005"], ) k8s_resource( "appgateservers", diff --git a/localnet/kubernetes/values-appgateserver.yaml b/localnet/kubernetes/values-appgateserver.yaml index 85b34fd1d..cefc1887d 100644 --- a/localnet/kubernetes/values-appgateserver.yaml +++ b/localnet/kubernetes/values-appgateserver.yaml @@ -1,2 +1,2 @@ -appgateserver: - enable: true \ No newline at end of file +pocket: + node: sequencer-poktroll-sequencer \ No newline at end of file diff --git a/localnet/kubernetes/values-relayer.yaml b/localnet/kubernetes/values-relayer.yaml deleted file mode 100644 index e69de29bb..000000000 diff --git a/localnet/kubernetes/values-relayminer.yaml b/localnet/kubernetes/values-relayminer.yaml new file mode 100644 index 000000000..cefc1887d --- /dev/null +++ b/localnet/kubernetes/values-relayminer.yaml @@ -0,0 +1,2 @@ +pocket: + node: sequencer-poktroll-sequencer \ No newline at end of file