Skip to content

Commit e56da36

Browse files
committed
Add support for building the kind image from a custom k8s fork
Signed-off-by: Kevin Klues <[email protected]>
1 parent 6e99295 commit e56da36

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

demo/scripts/build-kind-image.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ cleanup() {
4141
trap cleanup EXIT
4242

4343
# Set some build variables
44-
KIND_K8S_REPO="https://github.com/kubernetes/kubernetes.git "
4544
KIND_K8S_DIR="${TMP_DIR}/kubernetes-${KIND_K8S_TAG}"
4645

4746
# Checkout the version of kubernetes we want to build our kind image from

demo/scripts/common.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ SCRIPTS_DIR="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)"
3131
: ${DRIVER_IMAGE_TAG:="v0.1.0"}
3232
: ${DRIVER_IMAGE_PLATFORM:="ubuntu22.04"}
3333

34+
# The kubernetes repo to build the kind cluster from
35+
: ${KIND_K8S_REPO:="https://github.com/kubernetes/kubernetes.git"}
36+
3437
# The kubernetes tag to build the kind cluster from
35-
# From https://github.com/kubernetes/kubernetes/tags
38+
# From ${KIND_K8S_REPO}/tags
3639
: ${KIND_K8S_TAG:="v1.30.2"}
3740

3841
# At present, kind has a new enough node image that we don't need to build our

0 commit comments

Comments
 (0)