Skip to content

kpt live destroy command should be able to wait for resources to be removed #1461

Description

@mortent

The kpt live destroy command currently doesn't have parity with the kpt live apply command. In particular two pieces stand out:

  • It doesn't allow the --prune-propagation-policy and --prune-timeout flags that allow users to specify whether we should wait for resources to be deleted, and if so, for how long.
  • The Applier.Run function returns an init event on the channel with information about which resources will be applied/pruned. This is used by the table UI to be able to create the list of resources and their state before any changes are made. The Deployer should use a similar solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/liveenhancementNew feature or requestneeds-designIssues which need a bit of a design before we can start implementing them.size/L4 daytriagedIssue has been triaged by adding an `area/` label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions