Upgrading the operator manually
To upgrade the operator, you can edit and apply all the YAML files manually.
About this task
The operator has certain descriptors that must be applied for both OpenShift® Container Platform (OCP) and Cloud Native Computing Foundation (CNCF) platforms. The operator also has descriptors that must be applied for either OCP or CNCF depending on your platform.
- For both OCP and CNCF platforms
- The following descriptors must be applied for both OpenShift Container Platform (OCP) and Cloud Native Computing Foundation (CNCF):
descriptors/fncm_v1_fncm_crd.yamlthat contains the description of the Custom Resource Definition (CRD).descriptors/role.yamlthat defines the access of the operator.descriptors/role_binding.yamlthat defines the access of the operator.descriptors/service_account.yamlthat defines the identity for processes that run inside the pods of the operator.
- OpenShift Container Platform only
- For OCP, the files that need to be applied are:
descriptors/cluster_role.yamlthat defines cluster-wide access of the operator.descriptors/cluster_role_binding.yamlthat defines cluster-wide access of the operator.descriptors/op-olm/catalogsource.yamlthat stores metadata about operators and dependencies.descriptors/op-olm/operator_group.yamlthat specifies the target namespace for the installation.descriptors/op-olm/subscription.yamlthat specifies the version of the operator that is installed.
- Cloud Native Computing Foundation (CNCF) only
- For CNCF, the files that need to be applied are:
descriptors/operator.yamlthat defines the deployment of the operator.
Use the following steps to complete the setup.
Procedure
What to do next
To validate your upgraded deployment, see topic Verifying the upgrade.