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

17 lines
335 B
HCL

Kind = "service-intentions"
Name = "[[ .instance ]][[ .consul.suffix ]]"
Sources = [
{
Name = "[[ (merge .unifi.controller .).traefik.instance ]]"
Permissions = [
{
Action = "allow"
HTTP {
PathPrefix = "/"
Methods = ["GET","HEAD","POST","PUT","DELETE"]
}
}
]
}
]