Allow bypass of healthcheck
This commit is contained in:
parent
a8fe9bfff8
commit
caa84a5340
@ -78,6 +78,7 @@ job "[[.name]]" {
|
|||||||
}
|
}
|
||||||
[[ end ]]
|
[[ end ]]
|
||||||
|
|
||||||
|
[[ if not (eq .healthcheck "") -]]
|
||||||
check {
|
check {
|
||||||
type = "http"
|
type = "http"
|
||||||
path = "[[ or .healthcheck "/" ]]"
|
path = "[[ or .healthcheck "/" ]]"
|
||||||
@ -85,6 +86,7 @@ job "[[.name]]" {
|
|||||||
interval = "10s"
|
interval = "10s"
|
||||||
timeout = "10s"
|
timeout = "10s"
|
||||||
}
|
}
|
||||||
|
[[ end -]]
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
[[ if default false .ingress -]]
|
[[ if default false .ingress -]]
|
||||||
|
Loading…
Reference in New Issue
Block a user