Remove KubeConfig Dependency for Store Tests
Removes the KubeConfig Dependency for the Store Test by using the FakeClient Instead. Unit Tests should not rely on a real KubeConfig. Fixes #2789
This commit is contained in:
parent
2486ad9500
commit
c783c08d81
4 changed files with 254 additions and 152 deletions
|
|
@ -272,7 +272,6 @@ func registerHealthz(ic *controller.NGINXController, mux *http.ServeMux) {
|
|||
}
|
||||
|
||||
func registerMetrics(reg *prometheus.Registry, mux *http.ServeMux) {
|
||||
|
||||
mux.Handle(
|
||||
"/metrics",
|
||||
promhttp.InstrumentMetricHandler(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue