"Policy" CRD missing on RHACM managed cluster
Issue
-
On a cluster managed by RHACM (Red Hat Advanced Cluster Management), a
klusterlet-addon-policyctrl-frameworkPod in theopen-clister-management-agent-addonnamespace is crashing due to the following error message:{"level":"error","ts":1652700484.9912724,"logger":"cmd","msg":"Manager exited non-zero","error":"no matches for kind \"Policy\" in version \"policy.open-cluster-management.io/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/remote-source/deps/gomod/pkg/mod/github.com/go-logr/zapr@v0.4.0/zapr.go:132\nmain.main\n\t/remote-source/app/cmd/manager/main.go:194\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:255"} -
On a managed cluster, the
PolicyClusterResourceDefinition (CRD) is missing. What to do in this case?
Environment
- Red Hat Advanced Cluster Management (RHACM) 2.4
- Red Hat OpenShift Container Platform (RHOCP) 4.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.