1
0
Fork 0

feat(consulcatalog): add WhitelistSourceRange tags.

This commit is contained in:
Fernandez Ludovic 2018-01-01 03:37:24 +01:00 committed by Traefiker
parent 2fdefa258e
commit c9b871a03a
2 changed files with 15 additions and 7 deletions

View file

@ -48,6 +48,13 @@
"{{.}}",
{{end}}]
{{ $whitelistSourceRange := getWhitelistSourceRange $service.Attributes }}
{{if $whitelistSourceRange }}
whitelistSourceRange = [{{range $whitelistSourceRange}}
"{{.}}",
{{end}}]
{{end}}
basicAuth = [{{range getBasicAuth $service.Attributes }}
"{{.}}",
{{end}}]