File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,20 @@ IMAGE_NAME="${IMAGE_NAME:-node}"
25
25
REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /../.." & > /dev/null && pwd -P) "
26
26
cd " ${REPO_ROOT} "
27
27
28
- VERSION=" $1 "
28
+ VERSION=" ${1:- } "
29
+ if [[ -z " ${VERSION} " ]]; then
30
+ echo >&2 " version argument not supplied, looking up current stable ..."
31
+ VERSION=" $( curl -sL https://dl.k8s.io/release/stable.txt) "
32
+ fi
33
+ echo >&2 " will build node image for Kubernetes ${VERSION} ..."
29
34
30
35
# ensure we have up to date kind
36
+ echo >&2 " building kind ..."
31
37
make build
32
38
33
39
# ensure we have qemu setup so we can run cross-arch images
34
40
# TODO: dedupe specifying this image?
41
+ echo >&2 " ensuring binfmt_misc ..."
35
42
docker run --rm --privileged tonistiigi/binfmt:qemu-v7.0.0-28@sha256:66e11bea77a5ea9d6f0fe79b57cd2b189b5d15b93a2bdb925be22949232e4e55 --install all
36
43
37
44
# NOTE: adding platforms is costly in terms of build time
@@ -48,6 +55,7 @@ IMAGE="${REGISTRY}/${IMAGE_NAME}:${VERSION}"
48
55
images=()
49
56
for arch in " ${__arches__[@]} " ; do
50
57
image=" ${REGISTRY} /${IMAGE_NAME} -${arch} :${VERSION} "
58
+ echo >&2 " building ${image} ..."
51
59
" ${REPO_ROOT} /bin/kind" build node-image --image=" ${image} " --arch=" ${arch} " " ${VERSION} "
52
60
images+=(" ${image} " )
53
61
done
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ limitations under the License.
18
18
package defaults
19
19
20
20
// Image is the default for the Config.Image field, aka the default node image.
21
- const Image = "kindest/node:v1.32.1 @sha256:6afef2b7f69d627ea7bf27ee6696b6868d18e03bf98167c420df486da4662db6 "
21
+ const Image = "kindest/node:v1.32.2 @sha256:ec2582d73b2982e0c515f6630a6d3af5a599f5f8a830d2f65f09e61600314b88 "
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ const DefaultImage = "kindest/node:latest"
22
22
// DefaultBaseImage is the default base image used
23
23
// TODO: come up with a reasonable solution to digest pinning
24
24
// https://github.com/moby/moby/issues/43188
25
- const DefaultBaseImage = "docker.io/kindest/base:v20250117-f528b021 "
25
+ const DefaultBaseImage = "docker.io/kindest/base:v20250212-53ff1fb7 "
You can’t perform that action at this time.
0 commit comments