forked from Ivasoft/traefik
feat(consulcatalog): add WhitelistSourceRange tags.
This commit is contained in:
committed by
Traefiker
parent
2fdefa258e
commit
c9b871a03a
@@ -48,6 +48,13 @@
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
|
||||
{{ $whitelistSourceRange := getWhitelistSourceRange $service.Attributes }}
|
||||
{{if $whitelistSourceRange }}
|
||||
whitelistSourceRange = [{{range $whitelistSourceRange}}
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
{{end}}
|
||||
|
||||
basicAuth = [{{range getBasicAuth $service.Attributes }}
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
|
||||
Reference in New Issue
Block a user