From 04bdef01b8c7ccd2a1b54c39d97514a6ace82329 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 --- nomad/service.nomad | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nomad/service.nomad b/nomad/service.nomad index 4759217..641670f 100644 --- a/nomad/service.nomad +++ b/nomad/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 -]]