Skip to content

Commit

Permalink
use img reg project CM for CA cert
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Mar 23, 2020
1 parent 1f26f15 commit 63751a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cli/cmd/internal_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63751a6

Please sign in to comment.