From a6dc50e7cb8526cd8706a589d3781978541bc0ab Mon Sep 17 00:00:00 2001
From: Maxime Guyot <Miouge1@users.noreply.github.com>
Date: Wed, 17 Apr 2019 19:22:02 +0200
Subject: [PATCH] Add host information for canal readiness probe (#4548)

---
 roles/network_plugin/canal/templates/canal-node.yaml.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/roles/network_plugin/canal/templates/canal-node.yaml.j2 b/roles/network_plugin/canal/templates/canal-node.yaml.j2
index 80f25b1b6..7d9da1cf2 100644
--- a/roles/network_plugin/canal/templates/canal-node.yaml.j2
+++ b/roles/network_plugin/canal/templates/canal-node.yaml.j2
@@ -249,6 +249,7 @@ spec:
             privileged: true
           livenessProbe:
             httpGet:
+              host: 127.0.0.1
               path: /liveness
               port: 9099
             periodSeconds: 10
@@ -257,6 +258,7 @@ spec:
           readinessProbe:
 {% if calico_version is version('v3.3.0', '<')%}
             httpGet:
+              host: 127.0.0.1
               path: /readiness
               port: 9099
 {% else %}
-- 
GitLab