`copy`

Create a new package revision from an existing one.

copy creates a new package revision from an existing one. The new revision will be identical to the existing one but with a different workspace.

Synopsis #

kpt alpha rpkg copy SOURCE_PACKAGE_REV_NAME [flags]

Args #

SOURCE_PACKAGE_REV_NAME:
  The name of the package revision that will be used as the source
  for creating a new package revision.

Flags #

--workspace
  Workspace for the new package revision.

Examples #

# create a new package from package blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2
$ kpt alpha rpkg copy blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2 --workspace=v10 --namespace=default
Last modified June 16, 2025: Move docs to hugo (#4215) (2f0d4026)