Update flannel use install-cni-plugin to fit upstream (#8714)

* Update flannel use install-cni-plugin to fit upstream

* Replace flannel cni repo

* Remove download flannel binary
This commit is contained in:
zhengtianbao
2022-04-19 00:44:41 +08:00
committed by GitHub
parent 3261d26181
commit 937e64d296
3 changed files with 23 additions and 38 deletions

View File

@@ -1,16 +1,4 @@
---
- name: runc | Download flannel binary
include_tasks: "../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.flannel_cni) }}"
- name: Copy flannel binary from download dir
copy:
src: "{{ downloads.flannel_cni.dest }}"
dest: "/opt/cni/bin/flannel"
mode: 0755
remote_src: true
- name: Flannel | Create Flannel manifests
template:
src: "{{ item.file }}.j2"