Add missing method in custom-controller
@@ -6,6 +6,8 @@ import (
"os/exec"
"strings"
+ "github.com/spf13/pflag"
+
nginxconfig "k8s.io/ingress/controllers/nginx/pkg/config"
"k8s.io/ingress/core/pkg/ingress"
"k8s.io/ingress/core/pkg/ingress/controller"
@@ -80,3 +82,10 @@ func (dc DummyController) Info() *ingress.BackendInfo {
Repository: "git://foo.bar.com",
}
}
+
+func (n DummyController) OverrideFlags(*pflag.FlagSet) {
+}
+
+func (n DummyController) SetListers(lister ingress.StoreLister) {
+
+}
