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/clear-calico.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/clear-calico.yaml (limited to 'tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/clear-calico.yaml') diff --git a/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/clear-calico.yaml b/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/clear-calico.yaml new file mode 100644 index 00000000..9e6f3fa6 --- /dev/null +++ b/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/clear-calico.yaml @@ -0,0 +1,10 @@ +--- + +- name: Delete Calico + k8s: + state: absent + 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