crossplane icon indicating copy to clipboard operation
crossplane copied to clipboard

Support revisionHistoryLimit in Composition

Open jan-mrm opened this issue 3 months ago • 3 comments

What problem are you facing?

There is the known revisionHistoryLimit in many resources. Also in pkg.crossplane.io/Configuration and pkg.crossplane.io/Function.

It is not supported in apiextensions.crossplane.io/Composition, as far as I can see, or I'm missing it.

So the apiextensions.crossplane.io/CompositionRevisions are piling up on updates.

How could Crossplane help solve your problem?

Can revisionHistoryLimit be supported / added to apiextensions.crossplane.io/Composition or are there reasons that it should not be added?

jan-mrm avatar Sep 05 '25 07:09 jan-mrm

Do you think that what's described in https://github.com/crossplane/crossplane/issues/4837 would cover your requirements as well?

jbw976 avatar Sep 10 '25 00:09 jbw976

Do you think that what's described in https://github.com/crossplane/crossplane/issues/4837 would cover your requirements as well?

Sure. revisionHistoryLimit was my first thought that came to my mind here, but there might be more to it. Not sure if a new Revision is directly taking over the older Revision so that it can safely be removed, e.g. when using revisionHistoryLimit: 0 or 1.

So yes, some garbage collection mechanism would solve my issue here as well, it does not have to be a revisionHistoryLimit.

Should I close this issue as a duplicate of the issue you linked or will you do so? Or do you want to keep it open?

jan-mrm avatar Sep 10 '25 19:09 jan-mrm

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

github-actions[bot] avatar Dec 10 '25 01:12 github-actions[bot]