rpk shadow update

Updates a shadow link.

This command opens your default editor with the current shadow link configuration, and allows you to update the fields you want to change, save the file, and close the editor. The command applies only the changed fields to the shadow link.

You cannot change the shadow link name. If you need to rename a shadow link, delete it and create a new one with the desired name.

The editor respects your EDITOR environment variable. If EDITOR is not set, the command uses 'vi' on Unix-like systems.

Usage

rpk shadow update [LINK_NAME] [flags]

Examples

Update a shadow link configuration:

rpk shadow update my-shadow-link

Flags

Value Type Description

-h, --help

-

Help for update.

--config

string

Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.