Closed TrafalgarZZZ closed 2 weeks ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from cheyang by writing /assign @cheyang
in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Ⅰ. Describe what this PR does
Code changes in this PR:
pod.Namespace
with req.Namespace. This is only effective before K8s 1.24, see discussion and the bugfix in https://github.com/kubernetes/kubernetes/issues/113952#issuecomment-1317042694pod.Namespace
, we avoid passingnamespace
into deeper mutation functions and make code clearer.Ⅱ. Does this pull request fix one issue?
None
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews