When using webhooks in OCP 4.5 fails to rollout latest DeploymentConfig

Solution Verified - Updated -

Issue

After deploying OPA per documentation

$ oc rollout latest dc/httpd
Error from server (InternalError): Internal error occurred: no kind "DeploymentConfig" is registered for version "apps.openshift.io/" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"

The specific command 'rollout latest' isn't accepted. But creating new deployments works ok.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.5 and later

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