Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 2.2 KB

Update_CRO_rhmi.md

File metadata and controls

47 lines (35 loc) · 2.2 KB

Adding Latest CRO to RHMI

Once the CRO release has been cut you will need a PR to the integreatly-operator to add the latest version of CRO

Update the version of CRO in the Integreatly-operator

go get github.com/integr8ly/cloud-resource-operator

This should update the go.mod and go.sum file with the correct version from master

The integreatly-operator has a make command for fixing vendor

make vendor/fix

It should also add the latest version of CRO to the vendor/ directory and update vendor/modules.txt

Update the CSV in CRO manifest for the Integreatly-operator

We typically keep n-1 versions of manifests due to a config map size limitation,

  • If there were multiple releases of CRO we keep the version that was in use at the time of the last RHMI release (n-1)
  • Add latest version of CRO (n)

Remove the oldest version directory from

Remove the replaces line from the remaining versions csv e.g.

Copy into this directory the latest version from CRO

  • ./deploy/olm-catalog/cloud-resources/<latest-version>

Update the version in the cloud-resource-operator.package.yaml to the <latest-version> e.g.

Update the CRO version in rhmi-types file e.g.

Verification

  • Install RHMI on byoc cluster

  • Upgrade rhmi on byoc cluster, See the upgrade sop