File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
test/e2e/data/cni/kindnet Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,20 @@ apiVersion: rbac.authorization.k8s.io/v1
5
5
metadata :
6
6
name : kindnet
7
7
rules :
8
- - apiGroups :
9
- - policy
10
- resources :
11
- - podsecuritypolicies
12
- verbs :
13
- - use
14
- resourceNames :
15
- - kindnet
16
8
- apiGroups :
17
9
- " "
18
10
resources :
19
11
- nodes
20
12
verbs :
21
13
- list
22
14
- watch
15
+ - patch
16
+ - apiGroups :
17
+ - " "
18
+ resources :
19
+ - configmaps
20
+ verbs :
21
+ - get
23
22
---
24
23
kind : ClusterRoleBinding
25
24
apiVersion : rbac.authorization.k8s.io/v1
67
66
serviceAccountName : kindnet
68
67
containers :
69
68
- name : kindnet-cni
70
- image : kindest/kindnetd:0.5.4
69
+ image : kindest/kindnetd:v20220726-ed811e41
71
70
env :
72
71
- name : HOST_IP
73
72
valueFrom :
@@ -100,9 +99,14 @@ spec:
100
99
capabilities :
101
100
add : ["NET_RAW", "NET_ADMIN"]
102
101
volumes :
102
+ - name : cni-bin
103
+ hostPath :
104
+ path : /opt/cni/bin
105
+ type : DirectoryOrCreate
103
106
- name : cni-cfg
104
107
hostPath :
105
108
path : /etc/cni/net.d
109
+ type : DirectoryOrCreate
106
110
- name : xtables-lock
107
111
hostPath :
108
112
path : /run/xtables.lock
You can’t perform that action at this time.
0 commit comments