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

17 lines
350 B
HCL

Kind = "service-intentions"
Name = "[[ .instance ]][[ .consul.suffix ]]"
Sources = [
{
Name = "[[ (merge .mariadb.server .).traefik.instance ]]"
Action = "allow"
},
{
Name = "[[ .instance ]]-manage[[ .consul.suffix ]]"
Action = "allow"
},
{
Name = "[[ .instance ]]-backup[[ .consul.suffix ]]"
Action = "allow"
}
]