Update 'k8s/setup_calico.yml'

master
alecsandru 9 months ago
parent c64f14e59f
commit f04fdf5fb6
  1. 2
      k8s/setup_calico.yml

@ -20,7 +20,7 @@
- name: Setup Calico Instance - name: Setup Calico Instance
shell: "{{ item }} chdir=$HOME/calico" shell: "{{ item }} chdir=$HOME/calico"
with_items: with_items:
- "curl https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/custom-resources.yaml | sed -e "s:192.168.0.0/16:{{ POD_NETWORK_CIDR }}:g" | kubectl apply -f -" - "curl https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/custom-resources.yaml | sed -e 's:192.168.0.0/16:{{ POD_NETWORK_CIDR }}:g' | kubectl apply -f -"
# - "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 -e 's:192.168.0.0/16:{{ POD_NETWORK_CIDR }}:g' $HOME/calico/custom-resources.yaml" # - "sed -i -e 's:192.168.0.0/16:{{ POD_NETWORK_CIDR }}:g' $HOME/calico/custom-resources.yaml"
# - "kubectl apply -f $HOME/calico/custom-resources.yaml" # - "kubectl apply -f $HOME/calico/custom-resources.yaml"

Loading…
Cancel
Save