Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Calico installation with Route Reflector #7136

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions roles/network_plugin/calico/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
- name: Calico | Configure calico network pool
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{ "kind": "IPPool",
Expand Down Expand Up @@ -173,7 +173,7 @@
- name: Calico | Set up BGP Configuration
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{ "kind": "BGPConfiguration",
Expand All @@ -194,7 +194,7 @@
- name: Calico | Configure peering with router(s) at global scope
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{"apiVersion": "projectcalico.org/v3",
Expand All @@ -219,7 +219,7 @@
- name: Calico | Configure peering with route reflectors at global scope
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{"apiVersion": "projectcalico.org/v3",
Expand All @@ -244,7 +244,7 @@
- name: Calico | Configure route reflectors to peer with each other
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{"apiVersion": "projectcalico.org/v3",
Expand Down Expand Up @@ -320,7 +320,7 @@
- name: Calico | Configure node asNumber for per node peering
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{"apiVersion": "projectcalico.org/v3",
Expand All @@ -347,7 +347,7 @@
- name: Calico | Configure peering with router(s) at node scope
command:
cmd: "{{ bin_dir }}/calicoctl.sh apply -f -"
stdin: "{{ stdin | to_json }}"
stdin: "{{ stdin }}"
vars:
stdin: >
{"apiVersion": "projectcalico.org/v3",
Expand Down