Why does oc-apply show a Warning on OpenShift: oc apply should be used on resource created by either oc create --save-config or oc apply

Solution In Progress - Updated -

Issue

  • oc apply command shows the Warning: oc apply should be used on resource created by either oc create --save-config or oc apply. How to cope with the Warning?

Environment

  • Red Hat OpenShift Container Platform

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