acme-to-vault/consul/config/service-intentions/acme-to-vault.hcl

17 lines
313 B
HCL

Kind = "service-intentions"
Name = "[[ .instance ]][[ .consul.suffix ]]"
Sources = [
{
Name = "[[ .traefik.instance ]]"
Permissions = [
{
Action = "allow"
HTTP {
Methods = ["GET", "HEAD"]
PathPrefix = "/.well-known/acme-challenge"
}
}
]
}
]