chore: upgrade all deps — Go 1.25, cert-manager v1.20, AliDNS SDK V1→V2, k8s v0.35#1
Draft
Copilot wants to merge 2 commits into
Draft
chore: upgrade all deps — Go 1.25, cert-manager v1.20, AliDNS SDK V1→V2, k8s v0.35#1Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
… k8s v0.35.2 Co-authored-by: cnfatal <15731850+cnfatal@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Analyze changes in certmanager and alidns API for compatibility
chore: upgrade all deps — Go 1.25, cert-manager v1.20, AliDNS SDK V1→V2, k8s v0.35
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Alibaba Cloud Go SDK V1 (
aliyun/alibaba-cloud-sdk-go) reached end-of-support March 2025 and was archived July 2025. This PR migrates to the official V2 SDK and brings all other dependencies current.AliDNS SDK V1 → V2 (
alidns-20150109/v5)The V2 SDK uses a completely different client construction and pointer-based request/response API:
All response field accesses updated for pointer dereferencing via
tea.StringValue(). Pagination loop updated to useresp.Body.DomainRecords.Record.Removed broken import
github.com/cert-manager/cert-manager/pkg/issuer/acme/dns/utilwas removed in cert-manager v1.13+. Replaced with an inlineunFqdn()helper.Dependency versions
aliyun/alibaba-cloud-sdk-goalibabacloud-go/alidns-20150109/v5Tooling
setup-envtest(sigs.k8s.io/controller-runtime/tools/setup-envtest), matching the current cert-manager webhook-example patterncheckout@v4,setup-go@v5,buildx@v3,login-action@v3); Go version set to 1.25; removed now-redundant manual cache stepappVersion→1.20.0, chartversion→0.2.0.gitignore: addedcert-manager-webhook-alidnsandbin/to prevent binary commits📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.