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 = [
|
||||||
@ -72,6 +73,8 @@ module "minitor" {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
data = file("${path.module}/minitor-config.yml")
|
data = file("${path.module}/minitor-config.yml")
|
||||||
|
left_delimiter = "[["
|
||||||
|
right_delimiter = "]]"
|
||||||
dest = "config.yml"
|
dest = "config.yml"
|
||||||
mount = false
|
mount = false
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user