renovate: track go directive in api/go.mod (+ enterprise CRD sync)#5040
Merged
Brian-McM merged 3 commits intoJul 15, 2026
Merged
Conversation
Add api/go.mod to the golang-version custom manager so the Go language version in the api submodule is bumped in sync with root. The gomod dependency manager stays root-only: api/go.mod's shared deps (k8s.io/*, golang.org/x/*) are already kept in sync by gomodTidy following the local `replace github.com/tigera/operator/api => ./api`, but that does not touch the `go` directive line, which this manager covers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Regenerate the bundled enterprise kubecontrollersconfigurations CRDs (v1 + v3) to pick up an upstream additive change (annotations field on AutoHostEndpoint), clearing dirty-check. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Align api/go.mod's go directive with the root module (1.26.5). k8s.io deps already match root on master; this closes the one-patch go-directive gap. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Brian-McM
approved these changes
Jul 15, 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.
Description
Two related changes:
Renovate: track the
godirective inapi/go.mod. Addsapi/go.modto thegolang-versioncustom manager so the Go language version in the api submoduleis bumped in sync with root.
The
gomoddependency manager is intentionally left root-only.api/go.mod'sshared deps (
k8s.io/*,golang.org/x/*) are already kept in sync by Renovate:gomodTidyfollows the localreplace github.com/tigera/operator/api => ./apiandtidies the api module too (see e.g. fix(deps): update dependency-updates (release-v1.43) (patch) #5021 / fix(deps): update dependency-updates (release-v1.43) (minor) #5022, which updated
api/go.moddepswith no api entry in the gomod manager). What
go mod tidydoes not touch is thego X.Y.Zdirective line — which this custom-manager change covers. This mirrorscalico, whose
golang-versionmanager lists root +api/go.modwhile itsgomodmanager stays root-only.
This PR also bumps
api/go.mod's currentgodirective1.26.4→1.26.5toclose the existing one-patch gap with root (k8s deps already match on master).
go build ./...inapi/passes.Sync imported enterprise CRDs.
make update-enterprise-crdsregenerated thebundled
kubecontrollersconfigurationsCRDs (v1 + v3) to pick up an upstream additivechange (an
annotationsfield onAutoHostEndpoint). Clearsdirty-check.Type of change: CI tooling + generated-file sync (no product code changes).
Testing:
renovate-config-validatorpasses;api/go.mod'sgo 1.26.xdirectivematches the manager regex; CRD regeneration re-run is idempotent on the freshly-synced
master.
Release Note
For PR author
make gen-files(N/A)make gen-versions(CRDs regenerated via make update-enterprise-crds)For PR reviewers