From 2aa16d19cb746d9bc62ec5422e0ec0b32133646f Mon Sep 17 00:00:00 2001 From: alecsandru Date: Sat, 4 May 2024 17:06:55 +0000 Subject: [PATCH] Update 'k8s/setup_calico.yml' --- k8s/setup_calico.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/setup_calico.yml b/k8s/setup_calico.yml index c0233e9..2d57238 100644 --- a/k8s/setup_calico.yml +++ b/k8s/setup_calico.yml @@ -21,7 +21,7 @@ shell: "{{ item }} chdir=$HOME/calico" with_items: - "curl https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/custom-resources.yaml -O" - - "sed -i 's:192.168.0.0/16:{{ POD_NETWORK_CIDR }}:g' custom-resources.yaml" - - "kubectl apply -f custom-resources.yaml" + - "sed -i 's:192.168.0.0/16:{{ POD_NETWORK_CIDR }}:g' $HOME/calico/custom-resources.yaml" + - "kubectl apply -f $HOME/calico/custom-resources.yaml" args: creates: $HOME/calico/custom-resources.yaml \ No newline at end of file