From 041be0be23769db18dfb617db8332986ba94949b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 30 Nov 2020 14:42:38 +0100 Subject: [PATCH] Handle undefined variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/noggin/templates/deploymentconfig.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/noggin/templates/deploymentconfig.yml b/roles/openshift-apps/noggin/templates/deploymentconfig.yml index 4743a8e60b..62f82985e2 100644 --- a/roles/openshift-apps/noggin/templates/deploymentconfig.yml +++ b/roles/openshift-apps/noggin/templates/deploymentconfig.yml @@ -78,14 +78,14 @@ spec: initialDelaySeconds: 5 periodSeconds: 60 httpGet: - path: "{{ subdir }}/healthz/ready" + path: "{{ subdir|default('') }}/healthz/ready" port: 8080 livenessProbe: timeoutSeconds: 10 initialDelaySeconds: 10 periodSeconds: 60 httpGet: - path: "{{ subdir }}/healthz/live" + path: "{{ subdir|default('') }}/healthz/live" port: 8080 volumes: - name: noggin-config-volume