clusterGroup:
...
subscriptions:
acm:
name: advanced-cluster-management
namespace: open-cluster-management
channel: release-2.11
csv: advanced-cluster-management.v2.11.1
installPlanApproval: ManualProcedure: 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.yamlfile to include the following fields undersubscriptions:csv- Specifies the exact Operator version to install.installPlanApproval- Set toManualto prevent automatic installation.Update
values-hub.yamlas follows:This change ensures that the specified version is not installed until manually approved.
With the
installPlanApprovalset 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.yamlfile.Add the
autoApproveManualInstallPlansvariable and set it totrueas 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.
