diff --git a/internal/ingress/controller/store/store.go b/internal/ingress/controller/store/store.go index 6452c1bbc..c3f93784d 100644 --- a/internal/ingress/controller/store/store.go +++ b/internal/ingress/controller/store/store.go @@ -507,7 +507,8 @@ func New(checkOCSP bool, store.informers.Service.AddEventHandler(cache.ResourceEventHandlerFuncs{}) // do not wait for informers to read the configmap configuration - cm, err := client.CoreV1().ConfigMaps(namespace).Get(configmap, metav1.GetOptions{}) + ns, name, _ := k8s.ParseNameNS(configmap) + cm, err := client.CoreV1().ConfigMaps(ns).Get(name, metav1.GetOptions{}) if err != nil { glog.Warningf("Unexpected error reading configuration configmap: %v", err) }