mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-13 13:16:18 +00:00
Automatic merge from submit-queue (batch tested with PRs 57746, 57621, 56839, 57464). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. security_context_test.go(TestVerifyRunAsNonRoot): add more test cases **What this PR does / why we need it**: In #56503 we modified `VerifyRunAsNonRoot` function add add one more argument. As [was requested](https://github.com/kubernetes/kubernetes/pull/56503#discussion_r153870821) by @simo5, this change should have a unit test. This PR adds this test and also some more to cover more execution paths. **Release note**: ```release-note NONE ``` PTAL @pweil- @liggitt CC @simo5