Skip to content

Commit 2a01368

Browse files
authored
🌱 Bump sigs.k8s.io/kind to v0.27.0 (#11891)
* Bump sigs.k8s.io/kind to v0.27.0 Signed-off-by: sivchari <[email protected]> * fix semver Signed-off-by: sivchari <[email protected]> * add 1.27 section Signed-off-by: sivchari <[email protected]> * cleanup kind version Signed-off-by: sivchari <[email protected]> --------- Signed-off-by: sivchari <[email protected]>
1 parent fadd50c commit 2a01368

File tree

5 files changed

+44
-20
lines changed

5 files changed

+44
-20
lines changed

hack/ensure-kind.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ goarch="$(go env GOARCH)"
3030
goos="$(go env GOOS)"
3131

3232
# Note: When updating the MINIMUM_KIND_VERSION new shas MUST be added in `preBuiltMappings` at `test/infrastructure/kind/mapper.go`
33-
MINIMUM_KIND_VERSION=v0.26.0
33+
MINIMUM_KIND_VERSION=v0.27.0
3434

3535

3636
# Ensure the kind tool exists and is a viable version, or installs it

test/framework/bootstrap/kind_provider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
DefaultNodeImageRepository = "kindest/node"
3838

3939
// DefaultNodeImageVersion is the default Kubernetes version to be used for creating a kind cluster.
40-
DefaultNodeImageVersion = "v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027"
40+
DefaultNodeImageVersion = "v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f"
4141
)
4242

4343
// KindClusterOption is a NewKindClusterProvider option.

test/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ require (
3434
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
3535
sigs.k8s.io/cluster-api v0.0.0-00010101000000-000000000000
3636
sigs.k8s.io/controller-runtime v0.20.2
37-
sigs.k8s.io/kind v0.26.0
37+
sigs.k8s.io/kind v0.27.0
3838
sigs.k8s.io/yaml v1.4.0
3939
)
4040

4141
require (
42+
al.essio.dev/pkg/shellescape v1.5.1 // indirect
4243
cel.dev/expr v0.18.0 // indirect
4344
dario.cat/mergo v1.0.1 // indirect
4445
github.com/BurntSushi/toml v1.4.0 // indirect
@@ -50,7 +51,6 @@ require (
5051
github.com/NYTimes/gziphandler v1.1.1 // indirect
5152
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
5253
github.com/adrg/xdg v0.5.3 // indirect
53-
github.com/alessio/shellescape v1.4.2 // indirect
5454
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
5555
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
5656
github.com/beorn7/perks v1.0.1 // indirect

test/go.sum

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
al.essio.dev/pkg/shellescape v1.5.1 h1:86HrALUujYS/h+GtqoB26SBEdkWfmMI6FubjXlsXyho=
2+
al.essio.dev/pkg/shellescape v1.5.1/go.mod h1:6sIqp7X2P6mThCQ7twERpZTuigpr6KbZWtls1U8I890=
13
cel.dev/expr v0.18.0 h1:CJ6drgk+Hf96lkLikr4rFf19WrU0BOWEihyZnI2TAzo=
24
cel.dev/expr v0.18.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw=
35
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
@@ -23,8 +25,6 @@ github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8/go.mod h1:I0g
2325
github.com/adrg/xdg v0.5.3 h1:xRnxJXne7+oWDatRhR1JLnvuccuIeCoBu2rtuLqQB78=
2426
github.com/adrg/xdg v0.5.3/go.mod h1:nlTsY+NNiCBGCK2tpm09vRqfVzrc2fLmXGpBLF0zlTQ=
2527
github.com/ajeddeloh/go-json v0.0.0-20160803184958-73d058cf8437/go.mod h1:otnto4/Icqn88WCcM4bhIJNSgsh9VLBuspyyCfvof9c=
26-
github.com/alessio/shellescape v1.4.2 h1:MHPfaU+ddJ0/bYWpgIeUnQUqKrlJ1S7BfEYPM4uEoM0=
27-
github.com/alessio/shellescape v1.4.2/go.mod h1:PZAiSCk0LJaZkiCSkPv8qIobYglO3FPpyFjDCtHLS30=
2828
github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI=
2929
github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g=
3030
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
@@ -143,6 +143,8 @@ github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/Z
143143
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
144144
github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2 h1:SJ+NtwL6QaZ21U+IrK7d0gGgpjGGvd2kz+FzTHVzdqI=
145145
github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2/go.mod h1:Tv1PlzqC9t8wNnpPdctvtSUOPUUg4SHeE6vR1Ir2hmg=
146+
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
147+
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
146148
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
147149
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
148150
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
@@ -454,8 +456,8 @@ sigs.k8s.io/controller-runtime v0.20.2 h1:/439OZVxoEc02psi1h4QO3bHzTgu49bb347Xp4
454456
sigs.k8s.io/controller-runtime v0.20.2/go.mod h1:xg2XB0K5ShQzAgsoujxuKN4LNXR2LfwwHsPj7Iaw+XY=
455457
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 h1:/Rv+M11QRah1itp8VhT6HoVx1Ray9eB4DBr+K+/sCJ8=
456458
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3/go.mod h1:18nIHnGi6636UCz6m8i4DhaJ65T6EruyzmoQqI2BVDo=
457-
sigs.k8s.io/kind v0.26.0 h1:8fS6I0Q5WGlmLprSpH0DarlOSdcsv0txnwc93J2BP7M=
458-
sigs.k8s.io/kind v0.26.0/go.mod h1:t7ueEpzPYJvHA8aeLtI52rtFftNgUYUaCwvxjk7phfw=
459+
sigs.k8s.io/kind v0.27.0 h1:PQ3f0iAWNIj66LYkZ1ivhEg/+Zb6UPMbO+qVei/INZA=
460+
sigs.k8s.io/kind v0.27.0/go.mod h1:RZVFmy6qcwlSWwp6xeIUv7kXCPF3i8MXsEXxW/J+gJY=
459461
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 h1:MdmvkGuXi/8io6ixD5wud3vOLwc1rj0aNqRlpuvjmwA=
460462
sigs.k8s.io/structured-merge-diff/v4 v4.4.2/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4=
461463
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=

test/infrastructure/kind/mapper.go

+34-12
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,29 @@ type Mapping struct {
7979
var preBuiltMappings = []Mapping{
8080

8181
// TODO: Add pre-built images for newer Kind versions on top
82-
// Pre-built images for Kind v1.26.
82+
// Pre-built images for Kind v0.27.
83+
{
84+
KubernetesVersion: semver.MustParse("1.32.2"),
85+
Mode: Mode0_20,
86+
Image: "kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f",
87+
},
88+
{
89+
KubernetesVersion: semver.MustParse("1.31.6"),
90+
Mode: Mode0_20,
91+
Image: "kindest/node:v1.31.6@sha256:28b7cbb993dfe093c76641a0c95807637213c9109b761f1d422c2400e22b8e87",
92+
},
93+
{
94+
KubernetesVersion: semver.MustParse("1.30.10"),
95+
Mode: Mode0_20,
96+
Image: "kindest/node:v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507",
97+
},
98+
{
99+
KubernetesVersion: semver.MustParse("1.29.14"),
100+
Mode: Mode0_20,
101+
Image: "kindest/node:v1.29.14@sha256:8703bd94ee24e51b778d5556ae310c6c0fa67d761fae6379c8e0bb480e6fea29",
102+
},
103+
104+
// Pre-built images for Kind v0.26.
83105
{
84106
KubernetesVersion: semver.MustParse("1.32.0"),
85107
Mode: Mode0_20,
@@ -101,7 +123,7 @@ var preBuiltMappings = []Mapping{
101123
Image: "kindest/node:v1.29.12@sha256:62c0672ba99a4afd7396512848d6fc382906b8f33349ae68fb1dbfe549f70dec",
102124
},
103125

104-
// Pre-built images for Kind v1.25.
126+
// Pre-built images for Kind v0.25.
105127
{
106128
KubernetesVersion: semver.MustParse("1.32.0"),
107129
Mode: Mode0_20,
@@ -138,7 +160,7 @@ var preBuiltMappings = []Mapping{
138160
Image: "kindest/node:v1.26.15@sha256:c79602a44b4056d7e48dc20f7504350f1e87530fe953428b792def00bc1076dd",
139161
},
140162

141-
// Pre-built images for Kind v1.24.
163+
// Pre-built images for Kind v0.24.
142164
{
143165
KubernetesVersion: semver.MustParse("1.31.0"),
144166
Mode: Mode0_20,
@@ -190,7 +212,7 @@ var preBuiltMappings = []Mapping{
190212
Image: "kindest/node:v1.25.16@sha256:6110314339b3b44d10da7d27881849a87e092124afab5956f2e10ecdb463b025",
191213
},
192214

193-
// Pre-built images for Kind v1.23.
215+
// Pre-built images for Kind v0.23.
194216
{
195217
KubernetesVersion: semver.MustParse("1.30.0"),
196218
Mode: Mode0_20,
@@ -222,7 +244,7 @@ var preBuiltMappings = []Mapping{
222244
Image: "kindest/node:v1.25.16@sha256:5da57dfc290ac3599e775e63b8b6c49c0c85d3fec771cd7d55b45fae14b38d3b",
223245
},
224246

225-
// Pre-built images for Kind v1.22.
247+
// Pre-built images for Kind v0.22.
226248
{
227249
KubernetesVersion: semver.MustParse("1.29.2"),
228250
Mode: Mode0_20,
@@ -279,7 +301,7 @@ var preBuiltMappings = []Mapping{
279301
Image: "kindest/node:v1.23.17@sha256:14d0a9a892b943866d7e6be119a06871291c517d279aedb816a4b4bc0ec0a5b3",
280302
},
281303

282-
// Pre-built images for Kind v1.21.
304+
// Pre-built images for Kind v0.21.
283305
{
284306
KubernetesVersion: semver.MustParse("1.29.1"),
285307
Mode: Mode0_20,
@@ -316,7 +338,7 @@ var preBuiltMappings = []Mapping{
316338
Image: "kindest/node:v1.23.17@sha256:fbb92ac580fce498473762419df27fa8664dbaa1c5a361b5957e123b4035bdcf",
317339
},
318340

319-
// Pre-built images for Kind v1.20.
341+
// Pre-built images for Kind v0.20.
320342
{
321343
KubernetesVersion: semver.MustParse("1.29.0"),
322344
Mode: Mode0_20,
@@ -363,7 +385,7 @@ var preBuiltMappings = []Mapping{
363385
Image: "kindest/node:v1.21.14@sha256:8a4e9bb3f415d2bb81629ce33ef9c76ba514c14d707f9797a01e3216376ba093",
364386
},
365387

366-
// Pre-built images for Kind v1.19.
388+
// Pre-built images for Kind v0.19.
367389
{
368390
KubernetesVersion: semver.MustParse("1.27.1"),
369391
Mode: Mode0_19,
@@ -400,9 +422,9 @@ var preBuiltMappings = []Mapping{
400422
Image: "kindest/node:v1.21.14@sha256:220cfafdf6e3915fbce50e13d1655425558cb98872c53f802605aa2fb2d569cf",
401423
},
402424

403-
// Pre-built and additional images for Kind v1.18.
425+
// Pre-built and additional images for Kind v0.18.
404426
// NOTE: This version predates the introduction of this change, but we are including it to expand
405-
// the list of supported K8s versions; since they can be started with the same approach used up to kind 1.19,
427+
// the list of supported K8s versions; since they can be started with the same approach used up to kind 0.19,
406428
// we are considering this version part of the Mode0_19 group.
407429
{
408430
KubernetesVersion: semver.MustParse("1.26.3"),
@@ -445,9 +467,9 @@ var preBuiltMappings = []Mapping{
445467
Image: "kindest/node:v1.27.0@sha256:c6b22e613523b1af67d4bc8a0c38a4c3ea3a2b8fbc5b367ae36345c9cb844518",
446468
},
447469

448-
// Pre-built and additional images for Kind v1.17.
470+
// Pre-built and additional images for Kind v0.17.
449471
// NOTE: This version predates the introduction of this change, but we are including it to expand
450-
// the list of supported K8s versions; since they can be started with the same approach used up to kind 1.19,
472+
// the list of supported K8s versions; since they can be started with the same approach used up to kind 0.19,
451473
// we are considering this version part of the Mode0_19 group.
452474

453475
{

0 commit comments

Comments
 (0)