Skip to content

Commit d6db7d9

Browse files
committed
kubernetes version 1.32.0
1 parent e179718 commit d6db7d9

7 files changed

Lines changed: 220 additions & 177 deletions

File tree

BUILD.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Update versions in:
2+
- `Makefile`
3+
- `VERSION = 0.8.21`
4+
- `README.md`
5+
- `Current kubernetes version: 1.x.x`
6+
- `src/globals.sh`
7+
- `declare -rg MOKVERSION="0.8.x"`
8+
+ - `declare -rg K8SVERSION="1.x.x"`
9+
10+
Check versions in:
11+
- https://github.com/cri-o/cri-o/tags
12+
- https://github.com/opencontainers/runc/tags
13+
- https://github.com/kubernetes-sigs/cri-tools/tags
14+
15+
and update `mok-image/Dockerfile`
16+
17+
For kubernetes MINOR version upgrades, update:
18+
- `src/createcluster.sh`
19+
- `_CC_set_up_master_node()`
20+
- `"1.31."* | "1.32."*)`
21+
- `_CC_set_up_worker_node()`
22+
- `"1.31."* | "1.32."*)`
23+
24+
Remove all images:
25+
```
26+
sudo podman images | tail -n +2 | awk '{ print $3 }' | xargs sudo podman rmi --force
27+
```
28+
Update mok
29+
```
30+
touch mok-image/Dockerfile
31+
sudo make install
32+
make package
33+
```
34+
Build prebuilt image for upload and check version as it's building:
35+
```
36+
mok build image --tailf
37+
```
38+
Tag and upload:
39+
```
40+
sudo podman tag localhost/local/mok-image:1.32.0 docker.io/myownkind/mok-image:1.32.0
41+
sudo podman login docker.io
42+
sudo podman push docker.io/myownkind/mok-image:1.32.0
43+
```

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 0.8.21
1+
VERSION = 0.8.22
22

33
.PHONY: all
44
all: mok.deploy tags

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![image](https://github.com/user-attachments/assets/0750910e-d6da-4c65-92ea-f7bc64b116cc)
44

55

6-
Current kubernetes version: 1.31.4
6+
Current kubernetes version: 1.32.0
77

88
## Requirements
99

mok-image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
ARG BASE_IMAGE=debian:bookworm-slim
2424
FROM $BASE_IMAGE AS base
2525

26-
ARG KUBERNETES_VERSION=v1.31
26+
ARG KUBERNETES_VERSION=v1.32
2727
ARG CRIO_VERSION=v1.31
2828

2929
# copy in static files
@@ -134,7 +134,7 @@ RUN eval "$(gimme "${GO_VERSION}")" \
134134
# stage for building runc
135135
FROM go-build AS build-runc
136136
ARG TARGETARCH GO_VERSION
137-
ARG RUNC_VERSION="v1.1.13"
137+
ARG RUNC_VERSION="v1.2.3"
138138
ARG RUNC_CLONE_URL="https://github.com/opencontainers/runc"
139139
RUN git clone --filter=tree:0 "${RUNC_CLONE_URL}" /runc \
140140
&& cd /runc \
@@ -149,7 +149,7 @@ RUN git clone --filter=tree:0 "${RUNC_CLONE_URL}" /runc \
149149
FROM go-build AS build-crictl
150150
ARG TARGETARCH GO_VERSION
151151
ARG CRI_TOOLS_CLONE_URL="https://github.com/kubernetes-sigs/cri-tools"
152-
ARG CRICTL_VERSION="v1.31.1"
152+
ARG CRICTL_VERSION="v1.32.0"
153153
RUN git clone --filter=tree:0 "${CRI_TOOLS_CLONE_URL}" /cri-tools \
154154
&& cd /cri-tools \
155155
&& git checkout "${CRICTL_VERSION}" \

package/mok

Lines changed: 168 additions & 168 deletions
Large diffs are not rendered by default.

src/createcluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ _CC_setup_master_nodes() {
431431
_CC_set_up_master_node() {
432432

433433
case "${_CC[k8sver]}" in
434-
"1.31."*)
434+
"1.31."* | "1.32."*)
435435
_CC_set_up_master_node_v1_30_0 "$@"
436436
;;
437437
*)
@@ -747,7 +747,7 @@ EnD
747747
_CC_set_up_worker_node() {
748748

749749
case "${_CC[k8sver]}" in
750-
"1.31."*)
750+
"1.31."* | "1.32."*)
751751
_CC_set_up_worker_node_v1_30_0 "$@"
752752
;;
753753
*)

src/globals.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Args: None expected.
1111
_GL_new() {
1212

13-
declare -rg MOKVERSION="0.8.21"
14-
declare -rg K8SVERSION="1.31.4"
13+
declare -rg MOKVERSION="0.8.22"
14+
declare -rg K8SVERSION="1.32.0"
1515
declare -rg GO_VERSION="1.23.2"
1616

1717
# Returns, exit codes

0 commit comments

Comments
 (0)