Update 'k8s/setup_calico.yml'

master
alecsandru 9 months ago
parent dd76660094
commit 850649a667
  1. 4
      k8s/setup_calico.yml

@ -15,4 +15,6 @@
with_items: with_items:
- "curl https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/custom-resources.yaml -O" - "curl https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/custom-resources.yaml -O"
- "sed -i 's:192.168.0.0/16:{{ POD_CIDR_NETWORK }}/g' custom-resources.yaml" - "sed -i 's:192.168.0.0/16:{{ POD_CIDR_NETWORK }}/g' custom-resources.yaml"
- "kubectl apply -f custom-resources.yaml" - "kubectl apply -f custom-resources.yaml"
args:
creates: $HOME/calico/custom-resources.yaml
Loading…
Cancel
Save