prune

Deleting live resources that no longer appear in the desired state in Git.

In more detail

Argo CD and Flux both support it. Because it deletes things, review it like any deletion policy and understand who owns each resource first.

Example

syncPolicy:
  automated:
    prune: false

Related terms

Taught in

References

Certification courses