66
66
fieldPath : metadata.namespace
67
67
- name : CILIUM_CLUSTERMESH_CONFIG
68
68
value : /var/lib/cilium/clustermesh/
69
- - name : CILIUM_CUSTOM_CNI_CONF
70
- value : " true"
71
- image : mcr.microsoft.com/oss/cilium/cilium:1.12.5.1
69
+ image : mcr.microsoft.com/oss/cilium/cilium:1.12.8
72
70
imagePullPolicy : IfNotPresent
73
- lifecycle :
74
- postStart :
75
- exec :
76
- command :
77
- - /cni-install.sh
78
- preStop :
79
- exec :
80
- command :
81
- - /cni-uninstall.sh
82
71
livenessProbe :
83
72
failureThreshold : 10
84
73
httpGet :
@@ -157,8 +146,6 @@ spec:
157
146
name : bpf-maps
158
147
- mountPath : /var/run/cilium
159
148
name : cilium-run
160
- - mountPath : /host/opt/cni/bin
161
- name : cni-path
162
149
- mountPath : /host/etc/cni/net.d
163
150
name : etc-cni-netd
164
151
- mountPath : /var/lib/cilium/clustermesh
@@ -175,6 +162,24 @@ spec:
175
162
dnsPolicy : ClusterFirst
176
163
hostNetwork : true
177
164
initContainers :
165
+ - name : install-cni-binaries
166
+ image : mcr.microsoft.com/oss/cilium/cilium:1.12.8
167
+ imagePullPolicy : IfNotPresent
168
+ command :
169
+ - " /install-plugin.sh"
170
+ securityContext :
171
+ seLinuxOptions :
172
+ level : ' s0'
173
+ # Running with spc_t since we have removed the privileged mode.
174
+ # Users can change it to a different type as long as they have the
175
+ # type available on the system.
176
+ type : ' spc_t'
177
+ capabilities :
178
+ drop :
179
+ - ALL
180
+ volumeMounts :
181
+ - name : cni-path
182
+ mountPath : /host/opt/cni/bin
178
183
- command :
179
184
- sh
180
185
- -ec
@@ -187,7 +192,7 @@ spec:
187
192
value : /run/cilium/cgroupv2
188
193
- name : BIN_PATH
189
194
value : /opt/cni/bin
190
- image : mcr.microsoft.com/oss/cilium/cilium:1.12.5.1
195
+ image : mcr.microsoft.com/oss/cilium/cilium:1.12.8
191
196
imagePullPolicy : IfNotPresent
192
197
name : mount-cgroup
193
198
resources : {}
@@ -219,7 +224,7 @@ spec:
219
224
env :
220
225
- name : BIN_PATH
221
226
value : /opt/cni/bin
222
- image : mcr.microsoft.com/oss/cilium/cilium:1.12.5.1
227
+ image : mcr.microsoft.com/oss/cilium/cilium:1.12.8
223
228
imagePullPolicy : IfNotPresent
224
229
name : apply-sysctl-overwrites
225
230
resources : {}
@@ -247,7 +252,7 @@ spec:
247
252
- /bin/bash
248
253
- -c
249
254
- --
250
- image : mcr.microsoft.com/oss/cilium/cilium:1.12.5.1
255
+ image : mcr.microsoft.com/oss/cilium/cilium:1.12.8
251
256
imagePullPolicy : IfNotPresent
252
257
name : mount-bpf-fs
253
258
resources : {}
@@ -274,7 +279,7 @@ spec:
274
279
key : clean-cilium-bpf-state
275
280
name : cilium-config
276
281
optional : true
277
- image : mcr.microsoft.com/oss/cilium/cilium:1.12.5.1
282
+ image : mcr.microsoft.com/oss/cilium/cilium:1.12.8
278
283
imagePullPolicy : IfNotPresent
279
284
name : clean-cilium-state
280
285
resources :
0 commit comments