How to update a secret or configmap value in OCP 4

Solution Verified - Updated -

Issue

  • How to update the value of a secret or configmap data key/property/field in OpenShift 4.
  • How to update a secret or configmap that contains escape characters like \n.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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