From caa84a534043ed095bda14da6e1bca99edb9ba85 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 25 Jul 2022 15:52:02 -0700 Subject: [PATCH] Allow bypass of healthcheck --- service.nomad | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service.nomad b/service.nomad index 4759217..641670f 100644 --- a/service.nomad +++ b/service.nomad @@ -78,6 +78,7 @@ job "[[.name]]" { } [[ end ]] + [[ if not (eq .healthcheck "") -]] check { type = "http" path = "[[ or .healthcheck "/" ]]" @@ -85,6 +86,7 @@ job "[[.name]]" { interval = "10s" timeout = "10s" } + [[ end -]] tags = [ [[ if default false .ingress -]]