From 0ab7ff90c3fec546275fd35ffc13cb787c03721e Mon Sep 17 00:00:00 2001 From: Pawan Verma Date: Mon, 4 Oct 2021 18:44:20 +0530 Subject: Add support for Calico, Cilium, Contiv-VPP and Danm in k8scluster deployment scripts. This patch adds support for installing Calico, Cilium, Contiv-VPP and Danm in Kubernetes cluster deployment ansible scripts. Signed-off-by: Pawan Verma Change-Id: Ib76620fa0f63dd58e8496bbf31baf515f697bcde --- .../k8scluster/roles/clustermanager/tasks/deploy-calico.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-calico.yaml (limited to 'tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-calico.yaml') diff --git a/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-calico.yaml b/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-calico.yaml new file mode 100644 index 00000000..afee929a --- /dev/null +++ b/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-calico.yaml @@ -0,0 +1,12 @@ +--- + +- name: Clean Calico + import_tasks: clear-calico.yaml + +- name: Deploy Calico + k8s: + state: present + apply: yes + definition: '{{ item }}' + with_items: '{{ lookup("url", "https://docs.projectcalico.org/manifests/calico.yaml", split_lines=False) | from_yaml_all | list }}' + when: item is not none -- cgit 1.2.3-korg