Once the CRO release has been cut you will need a PR to the integreatly-operator to add the latest version of CRO
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
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.
- https://github.com/integr8ly/integreatly-operator/blob/v2.2.0/pkg/apis/integreatly/v1alpha1/rhmi_types.go#L64
- https://github.com/integr8ly/integreatly-operator/blob/v2.2.0/pkg/apis/integreatly/v1alpha1/rhmi_types.go#L91
-
Install RHMI on byoc cluster
-
Upgrade rhmi on byoc cluster, See the upgrade sop