How can Operators be updated independently from each other?

Solution Verified - Updated -

Issue

  • InstallPlans are referencing more than one operator. The InstallPlans for an operator should be distinct from other operators.

  • While using different operators in openshift-operators namespace. The different subscriptions are deployed with either automatic or manual approvalMode. It's expected that the install plans of an operator are distinct from other operators. But, InstallPlans are referencing more than one operator and an InstallPlan contains all operators that could be updated. If one of the operators have approvalMode Manual rest of the operators will not update though they have been subscribed with Automatic mode.

  • Updating an operator in the openshift-operators namespace triggers an update of all Operators in the namespace.

  • We have several operators installed in our cluster and currently have the subscription for each operator set to "manual" approval to ensure upgrades are planned and appropriately tested/validated. However, when I go to approve the single operator I want to upgrade, OpenShift creates an install plan for ALL POSSIBLE operators that can be upgraded and asks me to approve upgrades for all. Is it not possible to upgrade a single operator through OLM?

  • How do I upgrade just a single operator at a time in OpenShift?

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.x
  • Operator Lifecycle Manager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content