manage
delete-rsi-patch
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.7 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Delete RSI patches that are defined in the specified project.
- Required role
-
Instance administrator An instance administrator can run this command.
Extended description
Delete RSI patches that are defined in the specified project.
- Delete all patches in the project
- Delete a specific patch in the project
Before you delete an RSI patch, it is recommended that you set all active patches to inactive without the --skip_apply option so that the pods
in the project are reverted to the original specification. For details, see create-rsi-patch.
Syntax
cpd-cli manage delete-rsi-patch \
--cpd_instance_ns=<project-name> \
[--patch_name=<patch-name>] \
[--all]
Arguments
The delete-rsi-patch command has no arguments.
Options
| Option | Description |
|---|---|
--all |
Delete all of the RSI patches in the specified
project.
|
--cpd_instance_ns |
The project where the IBM
Cloud Pak for Data control plane and services are
installed.
|
--patch_name |
The name of the RSI patch that you want to
delete.
|
Table 1: Command options
Examples
Use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up install variables.
- Delete all RSI patches in the project where Cloud Pak for Data is installed
-
cpd-cli manage delete-rsi-patch \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --all - Delete the
patch-name-1patch in the project where Cloud Pak for Data is installed -
cpd-cli manage delete-rsi-patch \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --patch_name=patch-name-1