manage
update-cr
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
Table 1: Command options
| Option | Description |
|---|---|
--cluster_component_ns |
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.
|
--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.
|
Examples
No examples are available. The exact command that you need to run will be provided to you.