diff --git a/templates/kv.tmpl b/templates/kv.tmpl index 3d5e4398b..846db7567 100644 --- a/templates/kv.tmpl +++ b/templates/kv.tmpl @@ -65,6 +65,11 @@ "{{.}}", {{end}}] + {{$basicAuth := SplitGet $frontend "/basicauth"}} + basicAuth = [{{range $basicAuth}} + "{{.}}", + {{end}}] + {{range $route := List $frontend "/routes/"}} [frontends."{{$frontendName}}".routes."{{Last $route}}"] rule = "{{Get "" $route "/rule"}}"