Add support for custom proxy headers using a ConfigMap

This commit is contained in:
Manuel de Brito Fontes 2017-02-07 15:13:08 -03:00
parent 016f3a2bc7
commit 5cc5669938
5 changed files with 54 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
}