kaijaytu opened a new pull request, #1059: URL: https://github.com/apache/yunikorn-k8shim/pull/1059
### Description Remove deprecated user label processing code from the k8shim side: - Remove `DefaultUserLabel` constant - Remove `UserLabelKey` field from `SchedulerConf` - Simplify `GetUserFromPod()` to only use the `user.info` annotation - Remove `TestGetUserFromPodLabel` test This is the cleanup follow-up to YUNIKORN-2634 which deprecated the label-based user resolution. ### Type of change - [x] Refactoring ### Jira issue Jira ID : https://issues.apache.org/jira/browse/YUNIKORN-3311 - [x] I have created a Jira issue for this pull request. - [x] The Jira ID is part of the title of this pull request. ### AI Tooling - [x] The PR includes the phrase "Generated by GitHub Copilot", where <tool> is the name of the AI tool used. - [x] My use of AI contributions follows the ASF legal policy. ### How has this been tested? - [x] New unit tests were added to cover new or changed code paths. - [x] `make test_all` was run, and no failures reported. ### Questions: - [ ] The change needs documentation, a pull request for apache/yunikorn-site repository will be created. - [ ] There is breaking changes for older versions: jira is tagged with `release-notes` label. - [ ] The licenses files needs to be updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
