clusterGroup:
...
subscriptions:
acm:
name: advanced-cluster-management
namespace: open-cluster-management
channel: release-2.11
csv: advanced-cluster-management.v2.11.1
installPlanApproval: Manual
Procedure: Changing Subscription to Use a specific Operator Version
This procedure outlines the steps to change an Operator subscription to use a specific version by updating the csv
field and configuring the installation approval process.
This is required if an issue prevents the Operator from being successfully installed. |
Change the
values-hub.yaml
file to include the following fields undersubscriptions
:csv
- Specifies the exact Operator version to install.installPlanApproval
- Set toManual
to prevent automatic installation.Update
values-hub.yaml
as follows:This change ensures that the specified version is not installed until manually approved.
With the
installPlanApproval
set toManual
, follow these steps to manually approve the installation:Navigate to Operators → Installed Operators in the OpenShift Web Console.
Locate the InstallPlans section.
Find the pending install plan for the Operator.
Click Review manual InstallPlan.
Click Approve to proceed with the installation.
Optional: Automate approval and deploy the specified Operator version without manual intervention:
Edit the
values-global.yaml
file.Add the
autoApproveManualInstallPlans
variable and set it totrue
as shown below:global: options: autoApproveManualInstallPlans: true
This configuration generates a cronJob that runs every 5 minutes, automatically approving install plans that match the specified csv
version.