Skip to content

Commit 31ee17d

Browse files
authored
Merge pull request kubernetes#23578 from minikube-bot/auto_bump_calico_version
CNI: Update calico from v3.32.1 to v3.32.2
2 parents 4f38361 + fe2ab13 commit 31ee17d

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

pkg/minikube/bootstrapper/images/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func KindNet(repo string) string {
186186
}
187187

188188
// all calico images are from https://github.com/projectcalico/calico/blob/master/manifests/calico.yaml
189-
const calicoVersion = "v3.32.1"
189+
const calicoVersion = "v3.32.2"
190190
const calicoRepo = "docker.io/calico"
191191

192192
// CalicoDaemonSet returns the image used for calicoDaemonSet

pkg/minikube/cni/calico.yaml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ data:
5959
cni_network_config: |-
6060
{
6161
"name": "k8s-pod-network",
62-
"cniVersion": "0.3.1",
62+
"cniVersion": "1.0.0",
6363
"plugins": [
6464
{
6565
"type": "calico",
@@ -3629,8 +3629,8 @@ spec:
36293629
spec:
36303630
properties:
36313631
reservedCIDRs:
3632-
format: cidr
36333632
items:
3633+
format: cidr
36343634
type: string
36353635
type: array
36363636
x-kubernetes-list-type: set
@@ -7471,7 +7471,7 @@ spec:
74717471
# It can be deleted if this is a fresh installation, or if you have already
74727472
# upgraded to use calico-ipam.
74737473
- name: upgrade-ipam
7474-
image: quay.io/calico/cni:v3.32.1
7474+
image: quay.io/calico/cni:v3.32.2
74757475
imagePullPolicy: IfNotPresent
74767476
command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
74777477
envFrom:
@@ -7499,7 +7499,7 @@ spec:
74997499
# This container installs the CNI binaries
75007500
# and CNI network config file on each node.
75017501
- name: install-cni
7502-
image: quay.io/calico/cni:v3.32.1
7502+
image: quay.io/calico/cni:v3.32.2
75037503
imagePullPolicy: IfNotPresent
75047504
command: ["/opt/cni/bin/install"]
75057505
envFrom:
@@ -7543,7 +7543,7 @@ spec:
75437543
# networking to allow communication with the API Server. Calico-node initialization is executed
75447544
# in best effort fashion, i.e. no failure for errors, to not disrupt pod creation in iptables mode.
75457545
- name: "ebpf-bootstrap"
7546-
image: quay.io/calico/node:v3.32.1
7546+
image: quay.io/calico/node:v3.32.2
75477547
imagePullPolicy: IfNotPresent
75487548
command: ["calico-node", "-init", "-best-effort"]
75497549
volumeMounts:
@@ -7569,7 +7569,7 @@ spec:
75697569
# container programs network policy and routes on each
75707570
# host.
75717571
- name: calico-node
7572-
image: quay.io/calico/node:v3.32.1
7572+
image: quay.io/calico/node:v3.32.2
75737573
imagePullPolicy: IfNotPresent
75747574
envFrom:
75757575
- configMapRef:
@@ -7695,6 +7695,13 @@ spec:
76957695
# parent directory.
76967696
- name: bpffs
76977697
mountPath: /sys/fs/bpf
7698+
# Felix reads /sys/kernel/security/lockdown to detect kernel
7699+
# lockdown=confidentiality; under it, ftrace is disabled and Felix
7700+
# loads trace-printk-free BPF program variants. securityfs is a
7701+
# separate filesystem from /sys/fs, so it needs its own mount.
7702+
- name: sys-kernel-security
7703+
mountPath: /sys/kernel/security
7704+
readOnly: true
76987705
- name: cni-log-dir
76997706
mountPath: /var/log/calico/cni
77007707
readOnly: true
@@ -7723,6 +7730,12 @@ spec:
77237730
hostPath:
77247731
path: /sys/fs/bpf
77257732
type: Directory
7733+
# securityfs, read by Felix to detect kernel lockdown=confidentiality.
7734+
# No type set (like nodeproc below) so nodes without securityfs still
7735+
# start; Felix treats an unreadable lockdown file as "not locked down".
7736+
- name: sys-kernel-security
7737+
hostPath:
7738+
path: /sys/kernel/security
77267739
# mount /proc at /nodeproc to be used by ebpf-bootstrap initContainer to mount root cgroup2 fs.
77277740
- name: nodeproc
77287741
hostPath:
@@ -7792,7 +7805,7 @@ spec:
77927805
priorityClassName: system-cluster-critical
77937806
containers:
77947807
- name: calico-kube-controllers
7795-
image: quay.io/calico/kube-controllers:v3.32.1
7808+
image: quay.io/calico/kube-controllers:v3.32.2
77967809
imagePullPolicy: IfNotPresent
77977810
env:
77987811
# Choose which controllers to run.

0 commit comments

Comments
 (0)