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
there is no mechanism of automatically producing a reconciliation request either in case:
the object selected changes (e.g., tekton/Pipeline being updated)
an object that would match the selector is created (e.g., tekton/Pipeline that didn't exist before now exists)
lacking such mechanism means that folks using Runnable as a resource in Cartographer usually gets surprised by the fact that they've updated their pipeline (or created one after Workload got created) and then having to resort to either deleting the Runnable (and letting cartographer go ahead and create a new one for them) or tweaking a field (like placing a dummy annotation) just to trigger a reconciliation.
Proposed solution
Perhaps
use the dynamic watching capability we have in place whenever we match the selection?
watch the whole gvr in the namespace regardless of whether we have a selection in place or not (to catch creations)?
Just a few suggestions without thinking much.
Example
create a runnable that has selector pointing at objects of a gvr with a given label
see that it's not happy by not finding an object
create the object
see that runnable is still not happy (as it didn't reconcile again)
The text was updated successfully, but these errors were encountered:
Description of problem
In the current form that the reconciler deals with how
spec.selector
finds the objects matching the selectioncartographer/pkg/realizer/runnable/realizer.go
Line 152 in 37489d8
there is no mechanism of automatically producing a reconciliation request either in case:
tekton/Pipeline
being updated)tekton/Pipeline
that didn't exist before now exists)lacking such mechanism means that folks using
Runnable
as a resource in Cartographer usually gets surprised by the fact that they've updated their pipeline (or created one after Workload got created) and then having to resort to either deleting the Runnable (and letting cartographer go ahead and create a new one for them) or tweaking a field (like placing a dummy annotation) just to trigger a reconciliation.Proposed solution
Perhaps
Just a few suggestions without thinking much.
Example
selector
pointing at objects of a gvr with a given labelThe text was updated successfully, but these errors were encountered: