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

17 lines
356 B
HCL
Raw Normal View History

2023-11-15 22:44:50 +01:00
Kind = "service-intentions"
Name = "[[ .instance ]][[ .consul.suffix ]]"
2023-11-15 22:44:50 +01:00
Sources = [
{
Name = "[[ (merge .bounca.traefik .traefik).instance ]]"
2023-11-15 22:44:50 +01:00
Permissions = [
{
Action = "allow"
HTTP {
PathPrefix = "/"
Methods = ["GET", "HEAD", "POST", "OPTIONS", "PUT", "DELETE", "PATCH"]
}
}
]
}
]