Allow bypass of healthcheck

This commit is contained in:
IamTheFij 2022-07-25 15:52:02 -07:00
parent 157005ae7b
commit 04bdef01b8
1 changed files with 2 additions and 0 deletions

View File

@ -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 -]]