Update Server Alias Annotation with Review Changes
Updates the Server-Alias annotation to create another server containing the same configuration as the current server, but with the name provided in the annotation.
This commit is contained in:
parent
ac504bdbc0
commit
62fea9aa01
4 changed files with 220 additions and 219 deletions
|
|
@ -147,6 +147,9 @@ var (
|
|||
"toLower": strings.ToLower,
|
||||
"formatIP": formatIP,
|
||||
"buildNextUpstream": buildNextUpstream,
|
||||
"serverConfig": func(all config.TemplateConfig, server *ingress.Server) interface{} {
|
||||
return struct { First, Second interface{} } { all, server }
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue