mirror of https://github.com/status-im/consul.git
34 lines
437 B
HCL
34 lines
437 B
HCL
ID = {
|
|
Type = {
|
|
Group = "mesh"
|
|
GroupVersion = "v2beta1"
|
|
Kind = "Destinations"
|
|
}
|
|
}
|
|
|
|
Data = {
|
|
Workloads = {
|
|
Prefixes = ["api"]
|
|
}
|
|
|
|
Destinations = [
|
|
{
|
|
DestinationRef = {
|
|
Type = {
|
|
Group = "catalog"
|
|
GroupVersion = "v2beta1"
|
|
Kind = "Service"
|
|
}
|
|
|
|
Name = "db"
|
|
}
|
|
|
|
DestinationPort = "tcp"
|
|
|
|
IpPort = {
|
|
Port = 1234
|
|
}
|
|
}
|
|
]
|
|
}
|