Use kongctl adopt to bring existing Konnect resources
under declarative management by assigning namespace ownership metadata.
Adoption preserves resource IDs and configuration. Resources must also be
included in your declarative inputs to manage them going forward.
Add --declarative-output PATH to adopt and save the selected resources as
YAML in one command. The destination must be a new file in an existing
directory. Include that file in your configuration inputs, or merge its
contents into your existing files.
Use --dry-run to preview ownership changes without changing remote
resources. Combined with --declarative-output, it saves proposed
configuration; use a different output path for the actual adoption.
Parent adoption doesn’t adopt independently owned children. See Adopt existing resources for child selection, parent references, and complete workflows.