When we decode an event like "Scaled down replica set foo-7ff854 to 0", we get both the Deployment object attached to the event and the RepliaSet that it refers to, and if we use both those to look it makes it more likely we will hit the correct parent.
Also add special-case code for replicaset-controller events.
When we decode an event like
"Scaled down replica set foo-7ff854 to 0"
, we get both the Deployment object attached to the event and the RepliaSet that it refers to, and if we use both those to look it makes it more likely we will hit the correct parent.Also add special-case code for replicaset-controller events.