This change is basically a recently reverted change except that the issue with PodMetrics object kind was fixed (error was here). Also note that currently, main branch has a new unit test to add secondary verification for this kind of error (and I checked that it does fail with the original change).
I tested this agent build manually to confirm it includes objects with kind=PodMetrics in the snapshot deltas. It seems to work.
This change is basically a recently reverted change except that the issue with
PodMetrics
object kind was fixed (error was here). Also note that currently,main
branch has a new unit test to add secondary verification for this kind of error (and I checked that it does fail with the original change).I tested this agent build manually to confirm it includes objects with
kind=PodMetrics
in the snapshot deltas. It seems to work.