Skip to content

Commit 0b4d2cd

Browse files
authored
Merge pull request #7130 from killianmuldoon/test/update-kindnetd
🌱 Update kindnetd to the latest release version
2 parents 46b8e2d + 9934b2f commit 0b4d2cd

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

test/e2e/data/cni/kindnet/kindnet.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,20 @@ apiVersion: rbac.authorization.k8s.io/v1
55
metadata:
66
name: kindnet
77
rules:
8-
- apiGroups:
9-
- policy
10-
resources:
11-
- podsecuritypolicies
12-
verbs:
13-
- use
14-
resourceNames:
15-
- kindnet
168
- apiGroups:
179
- ""
1810
resources:
1911
- nodes
2012
verbs:
2113
- list
2214
- watch
15+
- patch
16+
- apiGroups:
17+
- ""
18+
resources:
19+
- configmaps
20+
verbs:
21+
- get
2322
---
2423
kind: ClusterRoleBinding
2524
apiVersion: rbac.authorization.k8s.io/v1
@@ -67,7 +66,7 @@ spec:
6766
serviceAccountName: kindnet
6867
containers:
6968
- name: kindnet-cni
70-
image: kindest/kindnetd:0.5.4
69+
image: kindest/kindnetd:v20220726-ed811e41
7170
env:
7271
- name: HOST_IP
7372
valueFrom:
@@ -100,9 +99,14 @@ spec:
10099
capabilities:
101100
add: ["NET_RAW", "NET_ADMIN"]
102101
volumes:
102+
- name: cni-bin
103+
hostPath:
104+
path: /opt/cni/bin
105+
type: DirectoryOrCreate
103106
- name: cni-cfg
104107
hostPath:
105108
path: /etc/cni/net.d
109+
type: DirectoryOrCreate
106110
- name: xtables-lock
107111
hostPath:
108112
path: /run/xtables.lock

0 commit comments

Comments
 (0)