2023-09-11 17:50:52 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
2023-09-08 16:20:14 +00:00
|
|
|
ID {
|
2023-09-25 18:03:45 +00:00
|
|
|
Type = gvk("mesh.v2beta1.Destinations")
|
2023-09-08 16:20:14 +00:00
|
|
|
Name = "api"
|
|
|
|
}
|
|
|
|
|
|
|
|
Data {
|
|
|
|
Workloads {
|
|
|
|
Prefixes = ["api"]
|
|
|
|
}
|
|
|
|
|
2023-09-25 18:03:45 +00:00
|
|
|
Destinations = [
|
2023-09-08 16:20:14 +00:00
|
|
|
{
|
|
|
|
DestinationRef = {
|
2023-09-22 16:51:15 +00:00
|
|
|
Type = gvk("catalog.v2beta1.Service")
|
2023-09-08 16:20:14 +00:00
|
|
|
Name = "db"
|
|
|
|
}
|
|
|
|
|
|
|
|
DestinationPort = "tcp"
|
|
|
|
|
|
|
|
IpPort = {
|
2023-10-13 22:52:20 +00:00
|
|
|
Ip = "127.0.0.1"
|
2023-09-08 16:20:14 +00:00
|
|
|
Port = 1234
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|