What is the recommended way to delete an element in a deploymentconfig with the cli

Solution Verified - Updated -

Issue

  • What is the correct way to make this adjustment from the cli? The cli is mandatory because the operation must run in an automated workflow.
  • If we use the oc patch-command,is is only possible to add entries but not remove the old one.

Environment

  • OpenShift Container Platform
    • 3.7

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