Skip to content

Commit b16bdfc

Browse files
jhadvigopenshift-cherrypick-robot
authored andcommitted
OCPBUGS-45300: Fetch synced CM for the CertificateAuthority issuer
1 parent 803896a commit b16bdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/console/operator/sync_v400.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (co *consoleOperator) sync_v400(ctx context.Context, controllerContext fact
102102
case configv1.AuthenticationTypeOIDC:
103103
if len(authnConfig.Spec.OIDCProviders) > 0 {
104104
oidcProvider := authnConfig.Spec.OIDCProviders[0]
105-
authServerCAConfig, err = co.configNSConfigMapLister.ConfigMaps(api.OpenShiftConfigNamespace).Get(oidcProvider.Issuer.CertificateAuthority.Name)
105+
authServerCAConfig, err = co.configNSConfigMapLister.ConfigMaps(api.OpenShiftConsoleNamespace).Get(oidcProvider.Issuer.CertificateAuthority.Name)
106106
if err != nil && !apierrors.IsNotFound(err) {
107107
return statusHandler.FlushAndReturn(err)
108108
}

0 commit comments

Comments
 (0)