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 <