devworkspace-webhook-server Pod is in CrashLoopBackoff after removing Web Terminal Operator

Solution Verified - Updated -

Issue

The devworkspace-webhook-server-* Pod is crashing after removing the Web Terminal Operator:

$ oc get pods -A | egrep -v "(Running|Completed)"
NAMESPACE                                          NAME                                                              READY   STATUS             RESTARTS   AGE
openshift-operators                                devworkspace-webhook-server-699b55858b-hzgx2                      1/2     CrashLoopBackOff   51         4h12m

Reviewing the logs from the failing Pod, it appears there is a missing ServiceAccount devworkspace-controller-serviceaccount resulting in the Pod failures:

{"level":"info","ts":1669165649.0705738,"logger":"cmd","msg":"Configuring Webhooks"}
{"level":"info","ts":1669165649.0705845,"logger":"webhook.devworkspace","msg":"Configuring devworkspace webhooks"}
I1123 01:07:32.321703       1 request.go:668] Waited for 3.247702157s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/config.openshift.io/v1?timeout=32s
{"level":"error","ts":1669165652.9785552,"logger":"cmd","msg":"Failed to create webhooks","error":"serviceaccounts \"devworkspace-controller-serviceaccount\" not found","stacktrace":"main.main\n\t/remote-source/app/webhook/main.go:115\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:255"}

Environment

  • OpenShift Container Platform
    • 4.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content