Repository navigation
Bump the go directive to 1.27 - #9440
Merged
cert-manager-prow[bot] merged 1 commit intoOct 8, 2026
Merged
Conversation
cert-manager is already built with Go 1.27.1. Moving the go directive to 1.27.0 in every go.mod lets code use APIs that are new in Go 1.27, such as crypto/mldsa, which the ML-DSA private keys design (cert-manager#9436) needs. GODEBUG defaults follow the go directive. Between Go 1.26 and 1.27 only tracebacklabels and x509sslcertoverrideplatform change; the latter only affects macOS and Windows. Go 1.27 also enables golangci-lint's modernize/embedlit check, which reports hundreds of struct literals that could omit embedded field types. Disable it for now so that the fixes can go in a separate mechanical PR. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Felix Phipps <[email protected]>
erikgb
reviewed
Oct 8, 2026
erikgb
left a comment
Member
There was a problem hiding this comment.
Thanks @FelixPhipps! 🚀
Can you please prepare the mechanical golangci-lint PR after this is merged?
/lgtm
/approve
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: erikgb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Member
|
/kind cleanup |
Member
Author
|
Thanks for the approval @erikgb! Will do. 🚀 |
This was referenced Oct 8, 2026
FelixPhipps
pushed a commit
to FelixPhipps/FelixPhippsCertMgr
that referenced
this pull request
Oct 9, 2026
Update the Go version section now that cert-manager#9440 has merged, note that pass-through issuers need the PublicKeysEqual change, use explicit ML-DSA cases for key comparison, add ML-DSA key usage defaults and validation per RFC 9881, and enable the gate in the e2e test runner. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Felix Phipps <[email protected]>
cert-manager-prow Bot
pushed a commit
that referenced
this pull request
Oct 25, 2026
Go 1.27 allows omitting embedded field types from struct literals. Re-enable golangci-lint's modernize/embedlit check, which was disabled in #9440, and apply its fixes with make fix-golangci-lint. Remove the imports that became unused as a result. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Felix Phipps <[email protected]>
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.
cert-manager is already built with Go 1.27.1. Moving the go directive to 1.27.0 in every go.mod lets code use APIs that are new in Go 1.27, such as crypto/mldsa, which the ML-DSA private keys design (#9436) needs.
GODEBUG defaults follow the go directive. Between Go 1.26 and 1.27 only tracebacklabels and x509sslcertoverrideplatform change; the latter only affects macOS and Windows.
Go 1.27 also enables golangci-lint's modernize/embedlit check, which reports hundreds of struct literals that could omit embedded field types. Disable it for now so that the fixes can go in a separate mechanical PR.