fix flannel v0.19.2

pull/1186/head
jin.gjm 2022-09-15 22:22:53 +08:00
parent c586fe8257
commit 5a785b985f
2 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,7 @@
- name: 下载flannel cni plugins - name: 下载cni plugins
copy: src={{ base_dir }}/bin/{{ item }} dest={{ bin_dir }}/{{ item }} mode=0755 copy: src={{ base_dir }}/bin/{{ item }} dest={{ bin_dir }}/{{ item }} mode=0755
with_items: with_items:
- bridge - bridge
- flannel
- host-local - host-local
- loopback - loopback
- portmap - portmap

View File

@ -191,3 +191,7 @@ spec:
- name: flannel-cfg - name: flannel-cfg
configMap: configMap:
name: kube-flannel-cfg name: kube-flannel-cfg
- name: xtables-lock
hostPath:
path: /run/xtables.lock
type: FileOrCreate