Merge pull request #246 from aledbf/set-headers

Add support for custom proxy headers using a ConfigMap
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-02-16 07:35:57 -03:00 committed by GitHub
commit b5819d8f4d
11 changed files with 254 additions and 2 deletions

View file

@ -304,6 +304,14 @@ func newIngressController(config *Configuration) *GenericController {
ic.annotations = newAnnotationExtractor(ic)
ic.cfg.Backend.SetListers(ingress.StoreLister{
Ingress: ic.ingLister,
Service: ic.svcLister,
Endpoint: ic.endpLister,
Secret: ic.secrLister,
ConfigMap: ic.mapLister,
})
return &ic
}