Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 670 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 670 Bytes

ingress-controller

monitor changes to an ingress in kubernetes

This is meant to automatically monitor the changes in kubernetes ingress definitions. This will manage an inmemory map of all the ingresses currently available within a kube cluster.

Matcher

Three matchers are available PrefixMatch, ExactMatch and RegexMatch are available.

Example

  controller := InitIngressController(context.Background(), kubeclient)
	namespace, ingressName, serviceRoute, found := controller.PrefixMatch("host.com", "/query")
	namespace, ingressName, serviceRoute, found := controller.ExactMatch("host.com", "/query")

Read Issues to identify what needs to be done.