chore(deps): Upgrade Kubernetes dependencies to v1.34.0#2495
chore(deps): Upgrade Kubernetes dependencies to v1.34.0#2495xenonnn4w wants to merge 6 commits intoopenyurtio:masterfrom
Conversation
|
Fixed SA1019 deprecation warnings for
|
|
@xenonnn4w Please focus on the blocking issues in the code detection. |
bf806d1 to
30365fb
Compare
Add package-level //nolint:staticcheck directives to suppress SA1019 warnings for corev1.Endpoints and corev1.EndpointSubset in files that intentionally use these deprecated APIs for backward compatibility. Files updated: - cmd/yurthub/app/config/config.go - pkg/yurthub/locallb/locallb.go - pkg/yurthub/locallb/locallb_test.go - pkg/yurtmanager/controller/raven/gatewayinternalservice/gateway_internal_service_controller.go - pkg/yurtmanager/controller/raven/gatewaypublicservice/gateway_public_service_controller.go - pkg/yurtmanager/controller/servicetopology/adapter/endpoints_adapter.go - pkg/yurttunnel/informers/serverinformer.go - pkg/yurttunnel/server/serveraddr/addr.go Signed-off-by: xenonnn4w <xenonnn4w@gmail.com>
30365fb to
d07ac0b
Compare
|
@zyjhtangtang can you run the checks one more time |
|
@zyjhtangtang now passing all the ci. Had some issue while running the |
clientcmd.Write() in k8s v1.34.0 no longer emits empty preferences field
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2495 +/- ##
==========================================
+ Coverage 43.88% 44.06% +0.17%
==========================================
Files 399 399
Lines 26560 26562 +2
==========================================
+ Hits 11657 11705 +48
+ Misses 13843 13793 -50
- Partials 1060 1064 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
Hey @zyjhtangtang ; can you guide me how i fix the failing e2e-tests at d751378, im unable to figure out it. |
|
@zyjhtangtang can you review it, all CI checks are passing! Thanks. |



What type of PR is this?
/kind enhancement
What this PR does / why we need it:
This PR upgrades all Kubernetes client-go, apimachinery, and related dependencies from v0.32.1 to v0.34.0 (corresponding to Kubernetes v1.34).
Changes made to accommodate API breaking changes in v1.34:
storage.Interfacemethods:CompactRevision,GetCurrentResourceVersion,SetKeysFunc, andStatscacher.CacherwithCacheDelegatorto implement fullstorage.InterfaceEventsHistoryWindowconfig tocacher.ConfigLogffield fromcertificate.ConfigStatefulSetValidationOptionsparameter toValidateStatefulSetSpeccallsWhich issue(s) this PR fixes:
Fixes
Special notes for your reviewer:
All OpenYurt components (yurtadm, yurt-node-servant, yurthub, yurt-manager, yurt-iot-dock) build successfully with these changes(I tested them). Unit tests for affected packages pass.
Does this PR introduce a user-facing change?
no