From d767aea3b76d862da040d1ffe74ec3772792ef47 Mon Sep 17 00:00:00 2001 From: Josh Robson Chase Date: Mon, 3 Jul 2023 16:48:27 -0400 Subject: [PATCH] namespace ngrok kind cluster --- scripts/kind-down.sh | 2 +- scripts/kind-up.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/kind-down.sh b/scripts/kind-down.sh index 2e759342..3b0519c0 100755 --- a/scripts/kind-down.sh +++ b/scripts/kind-down.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -kind delete cluster +kind delete cluster --name ngrok-ingress-controller docker stop kind-registry | xargs docker rm \ No newline at end of file diff --git a/scripts/kind-up.sh b/scripts/kind-up.sh index b1efe1f0..99061001 100755 --- a/scripts/kind-up.sh +++ b/scripts/kind-up.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -o errexit +cluster_name=ngrok-ingress-controller + # 1. Create registry container unless it already exists reg_name='kind-registry' reg_port='5001' @@ -18,7 +20,7 @@ fi # https://github.com/kubernetes-sigs/kind/issues/2875 # https://github.com/containerd/containerd/blob/main/docs/cri/config.md#registry-configuration # See: https://github.com/containerd/containerd/blob/main/docs/hosts.md -cat <