consul/internal/resourcehcl/testdata/upstreams.hcl

26 lines
321 B
HCL
Raw Normal View History

ID {
Type = gvk("mesh.v2beta1.Upstreams")
Name = "api"
}
Data {
Workloads {
Prefixes = ["api"]
}
Upstreams = [
{
DestinationRef = {
Type = gvk("catalog.v2beta1.Service")
Name = "db"
}
DestinationPort = "tcp"
IpPort = {
Port = 1234
}
}
]
}