open-nomad/jobspec/test-fixtures/tg-service-check-expose.hcl

27 lines
409 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
job "group_service_proxy_expose" {
group "group" {
service {
name = "example"
connect {
sidecar_service {
proxy {}
}
}
check {
name = "example-check1"
expose = true
}
check {
name = "example-check2"
expose = false
}
}
}
}