Skip to content

Instantly share code, notes, and snippets.

@rohitkrai03
Last active September 9, 2019 08:56
Show Gist options
  • Save rohitkrai03/43499451b54640aa00ec4fd46abebc49 to your computer and use it in GitHub Desktop.
Save rohitkrai03/43499451b54640aa00ec4fd46abebc49 to your computer and use it in GitHub Desktop.
Replace console image on a 4.1 Openshift cluster with latest 4.2 image.
oc patch consoles.operator.openshift.io cluster --patch '{ "spec": { "managementState": "Unmanaged" } }' --type=merge
oc set image deploy console console=quay.io/openshift/origin-console:4.2 -n openshift-console
oc rollout status -w deploy/console -n openshift-console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment