Skip to content

Setting the CNO unmanaged from CVO to use custom images

Dan Williams edited this page May 6, 2021 · 4 revisions

override-cno-control-patch.yaml

- op: add
  path: /spec/overrides
  value: []
- op: add
  path: /spec/overrides/-
  value:
    kind: Deployment
    name: network-operator
    group: operator.openshift.io
    namespace: openshift-network-operator
    unmanaged: true# sets network operator deployment unmanaged from clusterversion

$ oc patch --type=json -p "$(cat override-cno-control-patch.yaml)" clusterversion version

Then you can stop the CNO and modify any deployment/daemonset you want with oc edit to use your custom image.

Clone this wiki locally