Skip to content

Commit 7c0a307

Browse files
Merge pull request #5436 from juanluisvaladas/kubernetes-1.32.0
Bump kubernetes to 1.32.1
2 parents d6b69eb + e2d47e9 commit 7c0a307

38 files changed

+441
-858
lines changed

.github/workflows/publish-docs-manual.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
workflow_dispatch:
44
inputs:
55
version:
6-
description: 'Version tag (e.g."v1.31.5+k0s.0")'
6+
description: 'Version tag (e.g."v1.32.1+k0s.0")'
77
required: true
88

99
env:

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,14 @@ $(controller_gen_targets): $(GO_ENV_REQUISITES) hack/tools/boilerplate.go.txt ha
146146
touch -- '$@'
147147

148148
# Run register-gen for each API group version.
149+
# Usually register-gen should should be:
150+
# k8s.io/code-generator/cmd/register-gen@v$(kubernetes_version:1.%=0.%)
151+
# However, due to https://github.com/kubernetes/kubernetes/issues/129290 in 1.32.1 we
152+
# need to hardcode it to 0.31.5 instead of the appropriate 0.32.1.
149153
register_gen_targets := $(foreach gv,$(api_group_versions),pkg/apis/$(gv)/zz_generated.register.go)
150154
codegen_targets += $(register_gen_targets)
151155
$(register_gen_targets): $(GO_ENV_REQUISITES) hack/tools/boilerplate.go.txt embedded-bins/Makefile.variables
152-
CGO_ENABLED=0 $(GO) run k8s.io/code-generator/cmd/register-gen@v$(kubernetes_version:1.%=0.%) \
156+
CGO_ENABLED=0 $(GO) run k8s.io/code-generator/cmd/register-gen@v0.31.5 \
153157
--go-header-file=hack/tools/boilerplate.go.txt \
154158
--output-file='_$(notdir $@).tmp' \
155159
'github.com/k0sproject/k0s/$(dir $@)' || { \

cncf/GTR.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -329,17 +329,17 @@ k0s project follows closely the upstream Kubernetes release cycle. The only diff
329329
The k0s version string consists of the Kubernetes version and the k0s version. For example:
330330

331331
```text
332-
v1.31.5+k0s.0
332+
v1.32.1+k0s.0
333333
```
334334

335-
The Kubernetes version (1.31.5) is the first part, and the last part (k0s.0) reflects the k0s version, which is built on top of the certain Kubernetes version.
335+
The Kubernetes version (1.32.1) is the first part, and the last part (k0s.0) reflects the k0s version, which is built on top of the certain Kubernetes version.
336336

337337
## Installation
338338

339339
Here’s an example of how to set a single node cluster:
340340

341341
```console
342-
# export K0S_VERSION=v1.31.2+k0s.0
342+
# export K0S_VERSION=v1.32.1+k0s.0
343343
# curl -sSfL https://github.com/k0sproject/k0s/releases/download/$K0S_VERSION/k0s-$K0S_VERSION-amd64 -o k0s
344344
# chmod u+x k0s
345345
# ./k0s install controller --single && ./k0s start

cncf/security-self-assessment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This document serves as the k0s project [CNCF security self-assessment](https://
99
| Software | https://github.com/k0sproject/k0s |
1010
| Security Provider | No |
1111
| Languages | Golang |
12-
| SBOM | [https://github.com/k0sproject/k0s/releases/download/v1.31.5%2Bk0s.0/spdx.json](https://github.com/k0sproject/k0s/releases/download/v1.31.5%2Bk0s.0/spdx.json) |
12+
| SBOM | [https://github.com/k0sproject/k0s/releases/download/v1.32.1%2Bk0s.0/spdx.json](https://github.com/k0sproject/k0s/releases/download/v1.32.1%2Bk0s.0/spdx.json) |
1313

1414
## Security links
1515

embedded-bins/Makefile.variables

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ containerd_build_shim_go_cgo_enabled = 0
2222
#containerd_build_go_ldflags =
2323
containerd_build_go_ldflags_extra = "-w -s -extldflags=-static"
2424

25-
kubernetes_version = 1.31.5
25+
kubernetes_version = 1.32.1
2626
helm_version = 3.11.1
2727
kubernetes_buildimage = $(golang_buildimage)
2828
kubernetes_build_go_tags = "providerless"

go.mod

+71-73
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ require (
4242
github.com/spf13/pflag v1.0.5
4343
github.com/stretchr/testify v1.10.0
4444
github.com/urfave/cli v1.22.16
45-
github.com/vishvananda/netlink v1.3.0
45+
github.com/vishvananda/netlink v1.3.1-0.20240905180732-b1ce50cfa9be
4646
github.com/vmware-tanzu/sonobuoy v0.57.2
4747
github.com/zcalusic/sysinfo v1.1.3
4848
go.etcd.io/etcd/api/v3 v3.5.17
@@ -63,31 +63,32 @@ require (
6363

6464
// Kubernetes
6565
require (
66-
k8s.io/api v0.31.5
67-
k8s.io/apiextensions-apiserver v0.31.5
68-
k8s.io/apimachinery v0.31.5
69-
k8s.io/cli-runtime v0.31.5
70-
k8s.io/client-go v0.31.5
71-
k8s.io/cloud-provider v0.31.5
72-
k8s.io/cluster-bootstrap v0.31.5
73-
k8s.io/component-base v0.31.5
74-
k8s.io/component-helpers v0.31.5
75-
k8s.io/cri-api v0.31.5
76-
k8s.io/kube-aggregator v0.31.5
77-
k8s.io/kubectl v0.31.5
78-
k8s.io/kubelet v0.31.5
79-
k8s.io/kubernetes v1.31.5
80-
k8s.io/mount-utils v0.31.5
81-
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
66+
k8s.io/api v0.32.1
67+
k8s.io/apiextensions-apiserver v0.32.1
68+
k8s.io/apimachinery v0.32.1
69+
k8s.io/cli-runtime v0.32.1
70+
k8s.io/client-go v0.32.1
71+
k8s.io/cloud-provider v0.32.1
72+
k8s.io/cluster-bootstrap v0.32.1
73+
k8s.io/component-base v0.32.1
74+
k8s.io/component-helpers v0.32.1
75+
k8s.io/cri-api v0.32.1
76+
k8s.io/kube-aggregator v0.32.1
77+
k8s.io/kubectl v0.32.1
78+
k8s.io/kubelet v0.32.1
79+
k8s.io/kubernetes v1.32.1
80+
k8s.io/mount-utils v0.32.1
81+
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
8282
sigs.k8s.io/controller-runtime v0.19.4
8383
sigs.k8s.io/yaml v1.4.0
8484
)
8585

8686
require (
87+
cel.dev/expr v0.18.0 // indirect
8788
dario.cat/mergo v1.0.1 // indirect
8889
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
8990
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 // indirect
90-
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
91+
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
9192
github.com/MakeNowJust/heredoc v1.0.0 // indirect
9293
github.com/Masterminds/goutils v1.1.1 // indirect
9394
github.com/Masterminds/semver v1.5.0 // indirect
@@ -121,7 +122,6 @@ require (
121122
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
122123
github.com/cyphar/filepath-securejoin v0.3.5 // indirect
123124
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
124-
github.com/daviddengcn/go-colortext v1.0.0 // indirect
125125
github.com/docker/cli v25.0.1+incompatible // indirect
126126
github.com/docker/distribution v2.8.3+incompatible // indirect
127127
github.com/docker/docker v27.1.1+incompatible // indirect
@@ -133,7 +133,7 @@ require (
133133
github.com/dustin/go-humanize v1.0.1 // indirect
134134
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
135135
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
136-
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
136+
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
137137
github.com/fatih/camelcase v1.0.0 // indirect
138138
github.com/fatih/color v1.14.1 // indirect
139139
github.com/felixge/httpsnoop v1.0.4 // indirect
@@ -153,8 +153,8 @@ require (
153153
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
154154
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
155155
github.com/golang/protobuf v1.5.4 // indirect
156-
github.com/google/btree v1.1.2 // indirect
157-
github.com/google/cel-go v0.20.1 // indirect
156+
github.com/google/btree v1.1.3 // indirect
157+
github.com/google/cel-go v0.22.0 // indirect
158158
github.com/google/certificate-transparency-go v1.1.4 // indirect
159159
github.com/google/gnostic-models v0.6.8 // indirect
160160
github.com/google/gofuzz v1.2.0 // indirect
@@ -163,7 +163,7 @@ require (
163163
github.com/gorilla/mux v1.8.0 // indirect
164164
github.com/gorilla/websocket v1.5.0 // indirect
165165
github.com/gosuri/uitable v0.0.4 // indirect
166-
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
166+
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
167167
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
168168
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
169169
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -174,7 +174,7 @@ require (
174174
github.com/inconshreveable/mousetrap v1.1.0 // indirect
175175
github.com/intel/goresctrl v0.3.0 // indirect
176176
github.com/jmoiron/sqlx v1.4.0 // indirect
177-
github.com/jonboulle/clockwork v0.3.0 // indirect
177+
github.com/jonboulle/clockwork v0.4.0 // indirect
178178
github.com/josharian/intern v1.0.0 // indirect
179179
github.com/json-iterator/go v1.1.12 // indirect
180180
github.com/kisielk/sqlstruct v0.0.0-20201105191214-5f3e10d3ab46 // indirect
@@ -195,8 +195,8 @@ require (
195195
github.com/mitchellh/reflectwalk v1.0.2 // indirect
196196
github.com/moby/docker-image-spec v1.3.1 // indirect
197197
github.com/moby/locker v1.0.1 // indirect
198-
github.com/moby/spdystream v0.4.0 // indirect
199-
github.com/moby/sys/mountinfo v0.7.1 // indirect
198+
github.com/moby/spdystream v0.5.0 // indirect
199+
github.com/moby/sys/mountinfo v0.7.2 // indirect
200200
github.com/moby/sys/sequential v0.5.0 // indirect
201201
github.com/moby/sys/signal v0.7.0 // indirect
202202
github.com/moby/sys/symlink v0.2.0 // indirect
@@ -209,8 +209,7 @@ require (
209209
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
210210
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
211211
github.com/opencontainers/go-digest v1.0.0 // indirect
212-
github.com/opencontainers/runc v1.2.3 // indirect
213-
github.com/opencontainers/selinux v1.11.0 // indirect
212+
github.com/opencontainers/selinux v1.11.1 // indirect
214213
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
215214
github.com/pkg/errors v0.9.1 // indirect
216215
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
@@ -226,15 +225,15 @@ require (
226225
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 // indirect
227226
github.com/shopspring/decimal v1.4.0 // indirect
228227
github.com/spf13/cast v1.7.0 // indirect
229-
github.com/stoewer/go-strcase v1.2.0 // indirect
228+
github.com/stoewer/go-strcase v1.3.0 // indirect
230229
github.com/stretchr/objx v0.5.2 // indirect
231230
github.com/vishvananda/netns v0.0.4 // indirect
232231
github.com/weppos/publicsuffix-go v0.15.1-0.20210511084619-b1f36a2d6c0b // indirect
233232
github.com/x448/float16 v0.8.4 // indirect
234233
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
235234
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
236235
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
237-
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
236+
github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 // indirect
238237
github.com/xlab/treeprint v1.2.0 // indirect
239238
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect
240239
github.com/zmap/zcrypto v0.0.0-20210511125630-18f1e0152cfc // indirect
@@ -254,13 +253,12 @@ require (
254253
go.opentelemetry.io/otel/sdk v1.31.0 // indirect
255254
go.opentelemetry.io/otel/trace v1.31.0 // indirect
256255
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
257-
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
258256
go.uber.org/multierr v1.11.0 // indirect
259257
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
260258
golang.org/x/net v0.34.0 // indirect
261259
golang.org/x/oauth2 v0.23.0 // indirect
262260
golang.org/x/term v0.28.0 // indirect
263-
golang.org/x/time v0.5.0 // indirect
261+
golang.org/x/time v0.7.0 // indirect
264262
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
265263
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
266264
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect
@@ -271,52 +269,52 @@ require (
271269
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
272270
gopkg.in/yaml.v2 v2.4.0 // indirect
273271
gopkg.in/yaml.v3 v3.0.1 // indirect
274-
k8s.io/apiserver v0.31.5 // indirect
275-
k8s.io/controller-manager v0.31.5 // indirect
272+
k8s.io/apiserver v0.32.1 // indirect
273+
k8s.io/controller-manager v0.32.1 // indirect
276274
k8s.io/klog/v2 v2.130.1 // indirect
277-
k8s.io/kms v0.31.5 // indirect
278-
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
279-
k8s.io/metrics v0.31.5 // indirect
275+
k8s.io/kms v0.32.1 // indirect
276+
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
277+
k8s.io/metrics v0.32.1 // indirect
280278
oras.land/oras-go v1.2.5 // indirect
281279
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect
282-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
283-
sigs.k8s.io/kustomize/api v0.17.2 // indirect
284-
sigs.k8s.io/kustomize/kustomize/v5 v5.4.2 // indirect
285-
sigs.k8s.io/kustomize/kyaml v0.17.1 // indirect
286-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
280+
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
281+
sigs.k8s.io/kustomize/api v0.18.0 // indirect
282+
sigs.k8s.io/kustomize/kustomize/v5 v5.5.0 // indirect
283+
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
284+
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
287285
)
288286

289287
// Replacements duplicated from upstream Kubernetes
290288
replace (
291-
// https://github.com/kubernetes/kubernetes/blob/v1.31.5/go.mod#L227-L258
292-
k8s.io/api => k8s.io/api v0.31.5
293-
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.31.5
294-
k8s.io/apimachinery => k8s.io/apimachinery v0.31.5
295-
k8s.io/apiserver => k8s.io/apiserver v0.31.5
296-
k8s.io/cli-runtime => k8s.io/cli-runtime v0.31.5
297-
k8s.io/client-go => k8s.io/client-go v0.31.5
298-
k8s.io/cloud-provider => k8s.io/cloud-provider v0.31.5
299-
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.31.5
300-
k8s.io/code-generator => k8s.io/code-generator v0.31.5
301-
k8s.io/component-base => k8s.io/component-base v0.31.5
302-
k8s.io/component-helpers => k8s.io/component-helpers v0.31.5
303-
k8s.io/controller-manager => k8s.io/controller-manager v0.31.5
304-
k8s.io/cri-api => k8s.io/cri-api v0.31.5
305-
k8s.io/cri-client => k8s.io/cri-client v0.31.5
306-
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.31.5
307-
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.31.5
308-
k8s.io/endpointslice => k8s.io/endpointslice v0.31.5
309-
k8s.io/kms => k8s.io/kms v0.31.5
310-
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.31.5
311-
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.31.5
312-
k8s.io/kube-proxy => k8s.io/kube-proxy v0.31.5
313-
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.31.5
314-
k8s.io/kubectl => k8s.io/kubectl v0.31.5
315-
k8s.io/kubelet => k8s.io/kubelet v0.31.5
316-
k8s.io/metrics => k8s.io/metrics v0.31.5
317-
k8s.io/mount-utils => k8s.io/mount-utils v0.31.5
318-
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.31.5
319-
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.31.5
320-
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.31.5
321-
k8s.io/sample-controller => k8s.io/sample-controller v0.31.5
289+
// https://github.com/kubernetes/kubernetes/blob/v1.32.1/go.mod#L225-L257
290+
k8s.io/api => k8s.io/api v0.32.1
291+
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.32.1
292+
k8s.io/apimachinery => k8s.io/apimachinery v0.32.1
293+
k8s.io/apiserver => k8s.io/apiserver v0.32.1
294+
k8s.io/cli-runtime => k8s.io/cli-runtime v0.32.1
295+
k8s.io/client-go => k8s.io/client-go v0.32.1
296+
k8s.io/cloud-provider => k8s.io/cloud-provider v0.32.1
297+
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.32.1
298+
k8s.io/code-generator => k8s.io/code-generator v0.32.1
299+
k8s.io/component-base => k8s.io/component-base v0.32.1
300+
k8s.io/component-helpers => k8s.io/component-helpers v0.32.1
301+
k8s.io/controller-manager => k8s.io/controller-manager v0.32.1
302+
k8s.io/cri-api => k8s.io/cri-api v0.32.1
303+
k8s.io/cri-client => k8s.io/cri-client v0.32.1
304+
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.32.1
305+
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.32.1
306+
k8s.io/endpointslice => k8s.io/endpointslice v0.32.1
307+
k8s.io/kms => k8s.io/kms v0.32.1
308+
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.32.1
309+
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.32.1
310+
k8s.io/kube-proxy => k8s.io/kube-proxy v0.32.1
311+
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.32.1
312+
k8s.io/kubectl => k8s.io/kubectl v0.32.1
313+
k8s.io/kubelet => k8s.io/kubelet v0.32.1
314+
k8s.io/metrics => k8s.io/metrics v0.32.1
315+
k8s.io/mount-utils => k8s.io/mount-utils v0.32.1
316+
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.32.1
317+
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.32.1
318+
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.32.1
319+
k8s.io/sample-controller => k8s.io/sample-controller v0.32.1
322320
)

0 commit comments

Comments
 (0)