详细报错:
failed to sync cluster https://172.30.0.1:443: failed to load initial state of resource ConsolePlugin.console.openshift.io: conversion webhook for console.openshift.io/v1alpha1, Kind=ConsolePlugin failed: Post "https://webhook.openshift-console-operator.svc:9443/crdconvert?timeout=30s": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-10-27T08:46:54Z is after 2025-10-25T03:59:55Z
解决:
查了各种资料,没有找到任何有用的信息,说来重启试试,结果重启就解决了
bash
oc project openshift-console-operator
oc rollout restart deployment/console-operator