What does the 'prune' policy in GitOps do?
This is the core function of pruning in GitOps.
Why this answer
Pruning removes resources from the cluster that are no longer defined in the source Git repository, ensuring the cluster only contains what is declared.