From 985475dbb3651e40b6ce8ce81f8c61095666326e Mon Sep 17 00:00:00 2001 From: alecsandru Date: Sat, 4 May 2024 16:59:06 +0000 Subject: [PATCH] Update 'k8s/setup_calico.yml' --- k8s/setup_calico.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k8s/setup_calico.yml b/k8s/setup_calico.yml index 2e0a0b2..e930716 100644 --- a/k8s/setup_calico.yml +++ b/k8s/setup_calico.yml @@ -7,6 +7,9 @@ - name: Check if Calico is installed shell: "k get ns | grep tigera | wc -l" register: NS_COUNT + - name: debug + debug: + msg: "Got NS COUNT: {{ NS_COUNT.stdout|int }}" - name: Install Calico Operator shell: "kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/tigera-operator.yaml" when: NS_COUNT.stdout|int < 1