manage update-cr

Important: IBM Cloud Pak® for Data Version 4.7 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.

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.

Update the contents of the custom resources for the specified component.

Extended description

Important: Do not run this command unless explicitly instructed to do so. You must have specific information about the change to apply to the custom resource.

Syntax

cpd-cli manage update-cr \
--component=<component-name> \
--patch=<patch-to-apply-to-the-spec> \
[--cpd_instance_ns=<project-name>] \
[--cluster_component_ns=<project-name>] \
[-v][-vv][-vvv]

Arguments

The update-cr command has no arguments.

Options

Option Description
--cluster_component_ns The project where the cluster-wide component that you want to modify is installed.
Important: To use this option, you must have olm-utils-v2:4.7.2 or later.
Status
Required if you want to modify the custom resource of a cluster-wide component, such as the scheduling service.
Syntax
--cluster_component_ns=<project-name>
Default value
No default.
Valid values
The project where the cluster-wide component that you want to modify is installed.
--component The component that identifies the custom resource that you want to update.
Status
Required.
Syntax
--component=<component-name>
Default value
No default.
Valid values
For the list of components, see Component IDs.
--cpd_instance_ns The project (namespace) where the component is installed.
Status
Required if you want to modify the custom resource of a component that is installed in the operands project for the instance.
Syntax
--cpd_instance_ns=<project-name>
Default value
No default. User-defined.
Valid values
The project (namespace) where the component is installed.
--patch The change to make to the spec portion of the custom resource.
Status
Required.
Syntax
--patch=<patch-to-apply-to-the-spec>
Default value
No default.
Valid values
This information will be provided when you are instructed to run the update-cr command.
-v
-vv
-vvv
Display verbose output.

Options are listed from least verbose to the most verbose.

Status
Optional.
Syntax
Verbose output
-v
Very verbose output
-vv
Most verbose output
-vvv
Default value
Not applicable.
Valid values
Not applicable.

Table 1: Command options

Examples

No examples are available. The exact command that you need to run will be provided to you.