You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that the main changes between revisions are in the function, not in the composition itself.
While there is a way to pin down the CompositionRevision in use for the XR, as I understand, currently there is no way to do it for functions inside of the Composition itself and even for compositions, revision names are not predictable so you need to first define the revision and then reference it. Also, revisions may not be consistent across clusters.
How could Crossplane help solve your problem?
When pushing a new version for either a composition or a function there should be an optional field that allows specifying a version, ideally semver so then, at composition definition time we could specify the appropriate version:
pipeline:
- step: renderfunctionRef:
name: workloadversion: 1.0.1 #also something like >=1.0.0 for example.# This would remove the need for fields like `compositionUpdatePolicy` # because you could do something like ~0, >0, etc
- step: automatically-detect-ready-composed-resourcesfunctionRef:
name: function-auto-ready
This would remove the need for fields like compositionUpdatePolicy because you could do something like ~0/>0 (meaning any version), etc.
The text was updated successfully, but these errors were encountered:
What problem are you facing?
Currently our implementation of Compositions involves a main function per composition.
This means that the main changes between revisions are in the function, not in the composition itself.
While there is a way to pin down the
CompositionRevision
in use for theXR
, as I understand, currently there is no way to do it for functions inside of theComposition
itself and even for compositions, revision names are not predictable so you need to first define the revision and then reference it. Also, revisions may not be consistent across clusters.How could Crossplane help solve your problem?
When pushing a new version for either a
composition
or afunction
there should be an optional field that allows specifying a version, ideally semver so then, atcomposition
definition time we could specify the appropriate version:This would remove the need for fields like
compositionUpdatePolicy
because you could do something like~0
/>0
(meaning any version), etc.The text was updated successfully, but these errors were encountered: