Add Basic auth for consul catalog
This commit is contained in:
parent
8c5514612f
commit
b705e64a8a
5 changed files with 90 additions and 0 deletions
|
@ -40,6 +40,9 @@
|
|||
"{{.}}",
|
||||
{{end}}]
|
||||
{{end}}
|
||||
basicAuth = [{{range getBasicAuth .Attributes}}
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
[frontends."frontend-{{.ServiceName}}".routes."route-host-{{.ServiceName}}"]
|
||||
rule = "{{getFrontendRule .}}"
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue