File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ ```
Original file line number Diff line number Diff line change 1- VERSION = 0.8.21
1+ VERSION = 0.8.22
22
33.PHONY : all
44all : mok.deploy tags
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 2323ARG BASE_IMAGE=debian:bookworm-slim
2424FROM $BASE_IMAGE AS base
2525
26- ARG KUBERNETES_VERSION=v1.31
26+ ARG KUBERNETES_VERSION=v1.32
2727ARG CRIO_VERSION=v1.31
2828
2929# copy in static files
@@ -134,7 +134,7 @@ RUN eval "$(gimme "${GO_VERSION}")" \
134134# stage for building runc
135135FROM go-build AS build-runc
136136ARG TARGETARCH GO_VERSION
137- ARG RUNC_VERSION="v1.1.13 "
137+ ARG RUNC_VERSION="v1.2.3 "
138138ARG RUNC_CLONE_URL="https://github.com/opencontainers/runc"
139139RUN 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 \
149149FROM go-build AS build-crictl
150150ARG TARGETARCH GO_VERSION
151151ARG 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 "
153153RUN git clone --filter=tree:0 "${CRI_TOOLS_CLONE_URL}" /cri-tools \
154154 && cd /cri-tools \
155155 && git checkout "${CRICTL_VERSION}" \
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff 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 * )
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 * )
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments