fix(deploy): use provider=nomad to avoid Consul version constraint on int node
All checks were successful
Build and Deploy MoneyMaker / build-and-deploy (push) Successful in 15m33s

provider=consul auto-injects attr.consul.version >= 1.8.0 constraint which
filters out int (old Consul). provider=nomad uses native Nomad service
discovery — Traefik still picks up tags via Nomad catalog.
This commit is contained in:
Henrik Jess Nielsen
2026-05-27 11:00:20 +02:00
parent d9362d25fd
commit 1e5e1074e2

View File

@@ -36,7 +36,7 @@ job "moneymaker" {
} }
service { service {
provider = "consul" provider = "nomad"
name = "moneymaker" name = "moneymaker"
port = "http" port = "http"
@@ -46,10 +46,6 @@ job "moneymaker" {
"traefik.http.routers.moneymaker.tls=true", "traefik.http.routers.moneymaker.tls=true",
] ]
canary_tags = [
"traefik.enable=false",
]
check { check {
name = "http_health_check" name = "http_health_check"
type = "http" type = "http"