Skip to content

Commit ba70c7a

Browse files
Merge pull request #1017 from jhadvig/OCPBUGS-45300
OCPBUGS-45300: Fetch synced CM for the CertificateAuthority issuer
2 parents 1bcdb78 + dbe715b commit ba70c7a

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
@@ -103,7 +103,7 @@ func (co *consoleOperator) sync_v400(ctx context.Context, controllerContext fact
103103
case configv1.AuthenticationTypeOIDC:
104104
if len(authnConfig.Spec.OIDCProviders) > 0 {
105105
oidcProvider := authnConfig.Spec.OIDCProviders[0]
106-
authServerCAConfig, err = co.configNSConfigMapLister.ConfigMaps(api.OpenShiftConfigNamespace).Get(oidcProvider.Issuer.CertificateAuthority.Name)
106+
authServerCAConfig, err = co.configNSConfigMapLister.ConfigMaps(api.OpenShiftConsoleNamespace).Get(oidcProvider.Issuer.CertificateAuthority.Name)
107107
if err != nil && !apierrors.IsNotFound(err) {
108108
return statusHandler.FlushAndReturn(err)
109109
}

0 commit comments

Comments
 (0)