1
0
Fork 0

Add marathon label to configure basic auth, similar to docker and rancher providers

This commit is contained in:
Matt Christiansen 2017-06-27 17:22:17 -07:00 committed by Ludovic Fernandez
parent c31b4c55c2
commit 4dfbb6d489
4 changed files with 62 additions and 5 deletions

View file

@ -34,6 +34,9 @@
priority = {{getPriority .}}
entryPoints = [{{range getEntryPoints .}}
"{{.}}",
{{end}}]
basicAuth = [{{range getBasicAuth .}}
"{{.}}",
{{end}}]
[frontends."frontend{{.ID | replace "/" "-"}}".routes."route-host{{.ID | replace "/" "-"}}"]
rule = "{{getFrontendRule .}}"