unifi/consul/config/service-intentions/unifi.hcl

17 lines
335 B
HCL
Raw Normal View History

2023-08-23 23:16:59 +02:00
Kind = "service-intentions"
2024-01-22 21:47:02 +01:00
Name = "[[ .instance ]][[ .consul.suffix ]]"
2023-08-23 23:16:59 +02:00
Sources = [
{
2024-01-22 21:47:02 +01:00
Name = "[[ (merge .unifi.controller .).traefik.instance ]]"
2023-08-23 23:16:59 +02:00
Permissions = [
{
Action = "allow"
HTTP {
PathPrefix = "/"
Methods = ["GET","HEAD","POST","PUT","DELETE"]
}
}
]
}
]