mirror of https://github.com/hashicorp/consul
34 lines
433 B
HCL
34 lines
433 B
HCL
|
ID = {
|
||
|
Type = {
|
||
|
Group = "mesh"
|
||
|
GroupVersion = "v1alpha1"
|
||
|
Kind = "Upstreams"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Data = {
|
||
|
Workloads = {
|
||
|
Prefixes = ["api"]
|
||
|
}
|
||
|
|
||
|
Upstreams = [
|
||
|
{
|
||
|
DestinationRef = {
|
||
|
Type = {
|
||
|
Group = "catalog"
|
||
|
GroupVersion = "v1alpha1"
|
||
|
Kind = "Service"
|
||
|
}
|
||
|
|
||
|
Name = "db"
|
||
|
}
|
||
|
|
||
|
DestinationPort = "tcp"
|
||
|
|
||
|
IpPort = {
|
||
|
Port = 1234
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|