Calico wireguard (#7638)

* Calico: add Wireguard support

* CI: Add Calico Wireguard scenario
This commit is contained in:
Cristian Calin
2021-06-25 13:22:45 +03:00
committed by GitHub
parent 7b3bc54cc3
commit a2cf6816ce
16 changed files with 138 additions and 0 deletions

View File

@@ -1,4 +1,14 @@
---
- name: Calico | Install Wireguard packages
package:
name: "{{ item }}"
state: present
with_items: "{{ calico_wireguard_packages }}"
register: calico_package_install
until: calico_package_install is succeeded
retries: 4
when: calico_wireguard_enabled
- name: Calico | Copy calicoctl binary from download dir
copy:
src: "{{ local_release_dir }}/calicoctl"
@@ -148,6 +158,7 @@
"bpfLogLevel": "{{ calico_bpf_log_level }}",
"bpfEnabled": {{ calico_bpf_enabled | bool }},
"bpfExternalServiceMode": "{{ calico_bpf_service_mode }}",
"wireguardEnabled": {{ calico_wireguard_enabled | bool }},
"logSeverityScreen": "{{ calico_felix_log_severity_screen }}" }}
when:
- inventory_hostname == groups['kube_control_plane'][0]