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.yaml
that contains the description of the Custom Resource Definition (CRD).descriptors/role.yaml
that defines the access of the operator.descriptors/role_binding.yaml
that defines the access of the operator.descriptors/service_account.yaml
that 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.yaml
that defines cluster-wide access of the operator.descriptors/cluster_role_binding.yaml
that defines cluster-wide access of the operator.descriptors/op-olm/catalogsource.yaml
that stores metadata about operators and dependencies.descriptors/op-olm/operator_group.yaml
that specifies the target namespace for the installation.descriptors/op-olm/subscription.yaml
that 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.yaml
that 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.