This is an observability issue rather than a functional issue.
I want the CAPI operator to log changes made to objects that it manages. Specifically I want per-object logs for:
- Created
- Updated (I applied a new version, everything is good)
- Recovered (somebody messed with my stuff so I overwrote it)
- Collision (somebody else already created this so I'm stuck)
- Deleted (I did a DELETE on the object, but it may hang around for a while longer)
- Gone (I observed that the object is no longer present)
The first 4 are generated by Reconcile, the last 2 by Teardown. I think I'm good on the Reconcile logs. Teardown is a problem, because it reports from the POV of 'gone from this revision'. If I add a new revision, when I teardown the old revision I will see 'gone' for every object. That's super confusing in the logs, so for now I will have to disable it.
I do have an idea how to fix it, and I should be able to find time to work on it at some point if you're interested. I definitely want this, but it is not super critical right now.
This is an observability issue rather than a functional issue.
I want the CAPI operator to log changes made to objects that it manages. Specifically I want per-object logs for:
The first 4 are generated by Reconcile, the last 2 by Teardown. I think I'm good on the Reconcile logs. Teardown is a problem, because it reports from the POV of 'gone from this revision'. If I add a new revision, when I teardown the old revision I will see 'gone' for every object. That's super confusing in the logs, so for now I will have to disable it.
I do have an idea how to fix it, and I should be able to find time to work on it at some point if you're interested. I definitely want this, but it is not super critical right now.