Skip to content

ci: upgrade golang 1.24#172

Open
iutx wants to merge 2 commits intoerda-project:masterfrom
iutx:build/upgrade-to-go1.24
Open

ci: upgrade golang 1.24#172
iutx wants to merge 2 commits intoerda-project:masterfrom
iutx:build/upgrade-to-go1.24

Conversation

@iutx
Copy link
Member

@iutx iutx commented Jan 15, 2026

What type of this PR

Add one of the following kinds:
/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

  • Fixes #your-issue_number
  • [Erda Cloud Issue Link](paste your link here)

Specified Reviewers:

/assign @luobily

Need cherry-pick to release versions?

iutx added 2 commits January 15, 2026 16:09
…plementations

- Upgrade Go version from 1.16 to 1.24.0
- Update k8s.io dependencies to latest versions including klog/v2 migration
- Replace deprecated batch/v1beta1 with batch/v1 for CronJob resources
- Migrate from networking/v1beta1 to networking/v1 for network policies
- Convert legacy webhook.Defaulter/Validator to webhook.CustomDefaulter/CustomValidator
- Add context parameter to webhook methods for proper request handling
- Update controller-gen and kustomize tools to newer versions
- Replace deprecated source.Kind with direct object reference in Watches
- Standardize logging calls from Errorf to Error across multiple files
- Update Dockerfile base image to registry.erda.cloud/erda-x/golang:1.24
- Refactor metrics server configuration from MetricsBindAddress to Metrics option
- Modernize cache configuration using ByObject instead of SelectorsByObject
- Add proper namespace filtering capabilities in cache options
- Update testify, zap, and other
- Updated github.com/go-logr/logr from v1.4.2 to v1.4.3
- Updated golang.org/x/net from v0.38.0 to v0.49.0
- Updated golang.org/x/sync from v0.12.0 to v0.19.0
- Updated golang.org/x/sys from v0.31.0 to v0.40.0
- Updated golang.org/x/term from v0.30.0 to v0
@erda-bot
Copy link
Member

No assignee specified!

@erda-bot erda-bot requested a review from luobily January 15, 2026 08:13
@iutx iutx changed the title build: upgrade golang 1.24 ci: upgrade golang 1.24 Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants