Merge pull request #1239 from aledbf/pc

Add flags to customize listen ports and detect port collisions
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-08-24 10:23:59 -04:00 committed by GitHub
commit e7d2ff6fac
12 changed files with 127 additions and 47 deletions

View file

@ -440,4 +440,16 @@ type TemplateConfig struct {
IsIPV6Enabled bool
IsSSLPassthroughEnabled bool
RedirectServers map[string]string
ListenPorts *ListenPorts
}
// ListenPorts describe the ports required to run the
// NGINX Ingress controller
type ListenPorts struct {
HTTP int
HTTPS int
Status int
Health int
Default int
SSLProxy int
}