From 6569180654a9179cf4507924188b8bbdb564b945 Mon Sep 17 00:00:00 2001
From: Luis Nunez <luisyonaldo@gmail.com>
Date: Tue, 4 Sep 2018 14:56:53 +0200
Subject: [PATCH] remove capitalize filter

---
 roles/network_plugin/calico/tasks/install.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/network_plugin/calico/tasks/install.yml b/roles/network_plugin/calico/tasks/install.yml
index d658d575e..67eaec0fd 100644
--- a/roles/network_plugin/calico/tasks/install.yml
+++ b/roles/network_plugin/calico/tasks/install.yml
@@ -97,7 +97,7 @@
         },
         "spec": {
           "cidr": "{{ kube_pods_subnet }}",
-          "ipipMode": "{{ ipip_mode|capitalize }}",
+          "ipipMode": "{{ ipip_mode }}",
           "natOutgoing": {{ nat_outgoing|default(false) and not peer_with_router|default(false) }} }} " | {{ bin_dir }}/calicoctl create -f -
   run_once: true
   delegate_to: "{{ groups['kube-master'][0] }}"
@@ -186,4 +186,4 @@
   register: calico_node_manifests
   when:
     - inventory_hostname in groups['kube-master']
-    - rbac_enabled or item.type not in rbac_resources
\ No newline at end of file
+    - rbac_enabled or item.type not in rbac_resources
-- 
GitLab