2020-10-09 21:25:34 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2023-08-28 21:57:43 +00:00
|
|
|
# Copyright 2020-2023 the Pinniped contributors. All Rights Reserved.
|
2020-10-09 21:25:34 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
2020-10-30 22:18:40 +00:00
|
|
|
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
|
2020-10-09 21:25:34 +00:00
|
|
|
cd "${ROOT}"
|
|
|
|
|
2023-08-28 21:57:43 +00:00
|
|
|
# To choose a specific version of kube, add this option to the command below: `--image kindest/node:v1.28.0`.
|
2022-03-15 22:09:39 +00:00
|
|
|
# To debug the kind config, add this option to the command below: `-v 10`
|
2020-10-09 21:25:34 +00:00
|
|
|
kind create cluster --config "hack/lib/kind-config/single-node.yaml" --name pinniped
|