When using webhooks in OCP 4.5 fails to rollout latest DeploymentConfig
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.