Merge pull request #27598 from xiangpengzhao/optimize_canRunPod
Automatic merge from submit-queue
Refactor func canRunPod
After refactoring, we only need to check `if pod.Spec.SecurityContext == nil` once. The logic is a bit clearer.
Showing
Please
register
or
sign in
to comment