#!/usr/bin/env bash # Copyright 2020 the Pinniped contributors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 set -euo pipefail ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" cd "${ROOT}" reg_name='kind-registry.local' docker network disconnect "kind" "${reg_name}" || true docker stop "${reg_name}" || true docker rm "${reg_name}" || true kind delete cluster --name pinniped