Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#34298 from derekwaynecarr/ns-controller…
…-panic Automatic merge from submit-queue Fix potential panic in namespace controller when rapidly create/delet… Fixes kubernetes#33676 The theory is this could occur in either of the following scenarios: 1. HA environment where a GET to a different API server than what the WATCH was read from 1. In a many controller scenario (i.e. where multiple finalizers participate), a namespace that is created and deleted with the same name could trip up the other namespace controller to see a namespace with the same name that was not actually in a delete state. Added checks to verify uid matches across retry operations. /cc @liggitt @kubernetes/rh-cluster-infra
- Loading branch information