Fix minitor
Healthcheck was failing due to wrong path and log alert was failing due to the config file being templated by Nomad. Updated to use a different delimiter.
This commit is contained in:
parent
f481e7b938
commit
080cea9637
@ -57,6 +57,7 @@ module "minitor" {
|
|||||||
image = "iamthefij/minitor-go:1.1"
|
image = "iamthefij/minitor-go:1.1"
|
||||||
service_port = 8080
|
service_port = 8080
|
||||||
metrics_port_name = "main"
|
metrics_port_name = "main"
|
||||||
|
healthcheck_path = "/metrics"
|
||||||
use_vault = true
|
use_vault = true
|
||||||
|
|
||||||
templates = [
|
templates = [
|
||||||
@ -71,9 +72,11 @@ module "minitor" {
|
|||||||
env = true
|
env = true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
data = file("${path.module}/minitor-config.yml")
|
data = file("${path.module}/minitor-config.yml")
|
||||||
dest = "config.yml"
|
left_delimiter = "[["
|
||||||
mount = false
|
right_delimiter = "]]"
|
||||||
|
dest = "config.yml"
|
||||||
|
mount = false
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user