How to use oc patch to modify multiple fields
Issue
- I need to quickly update a DC with multiple changes
- I need to easily modify a resource in my OpenShift Cluster
- I want to programmatically modify a resource in OpenShift with a couple changes
- Multiple Deployments being triggered when trying to change multiple settings in a deployment config
Environment
- Red Hat OpenShift Container Platform
- 3.4 - 3.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.