vmware-tanzu / cartographer

Cartographer is a Supply Chain Choreographer.
https://cartographer.sh
Apache License 2.0
447 stars 64 forks source link

Add basic events for stamping and observing changes to resources #850

Open jwntrs opened 2 years ago

jwntrs commented 2 years ago

Description of problem

There are times when a user needs to know more detail about the machinations of the Cartographer controller, especially in debugging failures. For these situations, Kubernetes provides events to expose the user to these temporal triggers/actions from inside controller processes.

Proposed solution

As per #711, implement the following events on the owner object:

StampedObjectApplied StampedObjectRemoved (StampedObjectGarbageCollected in the RFC) ResourceOutputChanged ResourceHealthyStatusChanged

**: stretch, if they require a lot of time, better to deliver the StampedObject events.

cirocosta commented 2 years ago

note from a discussion @ zoom: