From 8d460a7300d756cb94c46c09a806f5d2cc1bd9b9 Mon Sep 17 00:00:00 2001 From: Boyang Jerry Peng Date: Tue, 7 Nov 2017 17:17:19 -0800 Subject: [PATCH] Bug in download main.yml I think there was a mistake here: "{{ peer_with_calico_rr is defined and peer_with_calico_rr }} and kube_network_plugin == 'calico'" should be "{{ peer_with_calico_rr is defined and peer_with_calico_rr and kube_network_plugin == 'calico' }}" this is causing calico_rr to be download even if you are using something other than calico --- roles/download/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index d74157e45..b79d9402f 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -210,7 +210,7 @@ downloads: tag: "{{ calico_policy_image_tag }}" sha256: "{{ calico_policy_digest_checksum|default(None) }}" calico_rr: - enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'" + enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr and kube_network_plugin == 'calico' }}" container: true repo: "{{ calico_rr_image_repo }}" tag: "{{ calico_rr_image_tag }}"