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.
|
--component |
The component that identifies the custom resource that you want to
update.
|
--cpd_instance_ns |
The project (namespace) where the component is
installed.
|
--patch |
The change to make to the spec portion of the custom
resource.
|
-v-vv-vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Table 1: Command options
Examples
No examples are available. The exact command that you need to run will be provided to you.