From 038fd9271d0b044e9b90448d59a8a4afa605c842 Mon Sep 17 00:00:00 2001 From: Wander Boessenkool Date: Mon, 14 Oct 2019 17:53:28 +0200 Subject: [PATCH] Properly escape quotes --- installer/roles/kubernetes/templates/deployment.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/roles/kubernetes/templates/deployment.yml.j2 b/installer/roles/kubernetes/templates/deployment.yml.j2 index 59b4015a7d..cb6540a0ff 100644 --- a/installer/roles/kubernetes/templates/deployment.yml.j2 +++ b/installer/roles/kubernetes/templates/deployment.yml.j2 @@ -272,7 +272,7 @@ spec: command: - /bin/ash - -c - - "wget -O - --header \"Authorization: Basic {{ ( rabbitmq_user + ':' + rabbitmq_password ) | b64encode }}\" http://localhost:15672/api/healthchecks/node | grep -qF \"{\"status\":\"ok\"}\"" + - "wget -O - --header \"Authorization: Basic {{ ( rabbitmq_user + ':' + rabbitmq_password ) | b64encode }}\" http://localhost:15672/api/healthchecks/node | grep -qF \"{\\\"status\\\":\\\"ok\\\"}\"" initialDelaySeconds: 30 timeoutSeconds: 10 readinessProbe: @@ -280,7 +280,7 @@ spec: command: - /bin/ash - -c - - "wget -O - --header \"Authorization: Basic {{ ( rabbitmq_user + ':' + rabbitmq_password ) | b64encode }}\" http://localhost:15672/api/healthchecks/node | grep -qF \"{\"status\":\"ok\"}\"" + - "wget -O - --header \"Authorization: Basic {{ ( rabbitmq_user + ':' + rabbitmq_password ) | b64encode }}\" http://localhost:15672/api/healthchecks/node | grep -qF \"{\\\"status\\\":\\\"ok\\\"}\"" initialDelaySeconds: 10 timeoutSeconds: 10 env: