|
|
@@ -118,6 +118,12 @@ spec:
|
|
|
- name: kubeconfig
|
|
|
mountPath: /etc/kubernetes/kubeconfig
|
|
|
readOnly: true
|
|
|
+ - name: lib-modules
|
|
|
+ mountPath: /lib/modules
|
|
|
+ readOnly: true
|
|
|
+ - name: xtables-lock
|
|
|
+ mountPath: /run/xtables.lock
|
|
|
+ readOnly: false
|
|
|
initContainers:
|
|
|
- name: install-cni
|
|
|
image: squat/kilo
|
|
|
@@ -161,3 +167,10 @@ spec:
|
|
|
- name: kubeconfig
|
|
|
hostPath:
|
|
|
path: /etc/kubernetes/kubeconfig
|
|
|
+ - name: lib-modules
|
|
|
+ hostPath:
|
|
|
+ path: /lib/modules
|
|
|
+ - name: xtables-lock
|
|
|
+ hostPath:
|
|
|
+ path: /run/xtables.lock
|
|
|
+ type: FileOrCreate
|