add Kube-OVN cni to kubespray (#5020)

This commit is contained in:
Oilbeater
2019-07-31 11:10:20 +08:00
committed by Kubernetes Prow Robot
parent 8afbf339f7
commit 1be788f785
17 changed files with 716 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
---
- name: Kube-OVN | Start Resources
kube:
name: "{{ item.item.name }}"
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/{{ item.item.file }}"
state: "latest"
with_items: "{{ kube_ovn_node_manifests.results }}"
when: inventory_hostname == groups['kube-master'][0] and not item is skipped

View File

@@ -30,6 +30,11 @@ dependencies:
tags:
- cni
- role: kubernetes-apps/network_plugin/kube-ovn
when: kube_network_plugin == 'kube-ovn'
tags:
- kube-ovn
- role: kubernetes-apps/network_plugin/weave
when: kube_network_plugin == 'weave'
tags: