karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.1k stars 800 forks source link

update lifted files to k8s 1.26 #3613

Closed zishen closed 9 months ago

zishen commented 10 months ago

What type of PR is this? /kind cleanup

What this PR does / why we need it: For kamarda is based on k8s 1.26, but most lifted files are in 1.23. So we need synchronize files to version 1.26 of k8s.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer: update lifted files to k8s 1.26

Does this PR introduce a user-facing change?: NONE

codecov-commenter commented 10 months ago

Codecov Report

Merging #3613 (a947eb2) into master (2d22b74) will decrease coverage by 0.01%. The diff coverage is 35.82%.

:exclamation: Current head a947eb2 differs from pull request most recent head 51bbfa0. Consider uploading reports for the commit 51bbfa0 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #3613      +/-   ##
==========================================
- Coverage   55.68%   55.67%   -0.01%     
==========================================
  Files         225      225              
  Lines       21313    21330      +17     
==========================================
+ Hits        11868    11876       +8     
- Misses       8813     8820       +7     
- Partials      632      634       +2     
Flag Coverage Δ
unittests 55.67% <35.82%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/util/lifted/corehelpers.go 7.54% <ø> (ø)
pkg/util/lifted/corev1helpers.go 27.77% <ø> (+11.11%) :arrow_up:
pkg/util/lifted/corevalidation.go 37.14% <ø> (ø)
pkg/util/lifted/genutils.go 78.57% <ø> (ø)
pkg/util/lifted/podtemplate.go 0.00% <ø> (ø)
pkg/util/lifted/requestinfo.go 84.61% <0.00%> (-10.29%) :arrow_down:
pkg/util/lifted/resourcename.go 0.00% <ø> (ø)
...ted/scheduler/framework/parallelize/parallelism.go 56.25% <ø> (ø)
pkg/util/lifted/taint.go 91.89% <ø> (ø)
pkg/util/lifted/validateclustertaints.go 0.00% <0.00%> (ø)
... and 8 more

... and 1 file with indirect coverage changes

zishen commented 10 months ago

/cc @RainbowMango pls take a look.

XiShanYongYe-Chang commented 10 months ago

Thanks, I will take a review ASAP.

zishen commented 9 months ago

some thing go wrong. image Can you help me to retry it? @RainbowMango

RainbowMango commented 9 months ago

done.

XiShanYongYe-Chang commented 9 months ago

/lgtm /approve

zishen commented 9 months ago

cc @RainbowMango It's ready to go.

karmada-bot commented 9 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango, XiShanYongYe-Chang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/karmada-io/karmada/blob/master/OWNERS)~~ [RainbowMango] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment