#4837·crossplane

Garbage collect unused CompositionRevisions

Author: haarchriCreated Oct 18, 2023Updated Sep 26, 2026
Labelsenhancementhelp wantedreliabilityroadmapcompositionstale

What happened?

It seems that since we introduced composition revisions, Crossplane is not properly cleaning up old, unused composition revisions. We require an option to specify the number of active composition revisions we want to retain and remove the rest, only the unused revisions.

bash
kubectl get compositionrevision | wc -l
  1415

How can we reproduce it?

What environment did it happen in?

Crossplane version: