Unable to use oc patch command
Issue
The oc patch command is not working, not patched message after executing #oc patch command.
oc patch dc/docker-registry -p '{"spec": {"template": {"spec": {"containers":[{
> "name":"registry",
> "livenessProbe": {"httpGet": {"scheme":"HTTPS"}}
> }]}}}}'
deploymentconfig "docker-registry" not patched
Environment
- OpenShift Container Platform
- 3.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
