From 63751a6114940b461ab603a2352cc59728bae20f Mon Sep 17 00:00:00 2001 From: gabemontero Date: Mon, 23 Mar 2020 15:39:18 -0400 Subject: [PATCH] use img reg project CM for CA cert --- pkg/cmd/cli/cmd/internal_registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/cli/cmd/internal_registry.go b/pkg/cmd/cli/cmd/internal_registry.go index 072d66c..d638897 100644 --- a/pkg/cmd/cli/cmd/internal_registry.go +++ b/pkg/cmd/cli/cmd/internal_registry.go @@ -35,7 +35,7 @@ $ obu registry --docker-cfg-file return } coreClient := util.GetCoreClient(kubeconfig) - registryCAMap, err := coreClient.CoreV1().ConfigMaps("openshift-controller-manager").Get("openshift-service-ca", metav1.GetOptions{}) + registryCAMap, err := coreClient.CoreV1().ConfigMaps("openshift-image-registry").Get("serviceca", metav1.GetOptions{}) if err != nil { fmt.Fprintf(os.Stderr, "ERROR: problem retrieving registry CA config map: %v\n", err) return