Skip to content

renovate: track go directive in api/go.mod (+ enterprise CRD sync)#5040

Merged
Brian-McM merged 3 commits into
tigera:masterfrom
lucastigera:renovate-track-api-go-directive
Jul 15, 2026
Merged

renovate: track go directive in api/go.mod (+ enterprise CRD sync)#5040
Brian-McM merged 3 commits into
tigera:masterfrom
lucastigera:renovate-track-api-go-directive

Conversation

@lucastigera

@lucastigera lucastigera commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Two related changes:

  1. Renovate: track the go directive in api/go.mod. Adds 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 is intentionally left root-only. api/go.mod's
    shared deps (k8s.io/*, golang.org/x/*) are already kept in sync by Renovate:
    gomodTidy follows the local replace github.com/tigera/operator/api => ./api and
    tidies 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.mod deps
    with no api entry in the gomod manager). What go mod tidy does not touch is the
    go X.Y.Z directive line — which this custom-manager change covers. This mirrors
    calico, whose golang-version manager lists root + api/go.mod while its gomod
    manager stays root-only.

    This PR also bumps api/go.mod's current go directive 1.26.41.26.5 to
    close the existing one-patch gap with root (k8s deps already match on master). go build ./... in api/ passes.

  2. Sync imported enterprise CRDs. make update-enterprise-crds regenerated the
    bundled kubecontrollersconfigurations CRDs (v1 + v3) to pick up an upstream additive
    change (an annotations field on AutoHostEndpoint). Clears dirty-check.

Type of change: CI tooling + generated-file sync (no product code changes).

Testing: renovate-config-validator passes; api/go.mod's go 1.26.x directive
matches the manager regex; CRD regeneration re-run is idempotent on the freshly-synced
master.

Release Note

NONE

For PR author

  • Tests for change. (N/A — tooling + generated files; validated via renovate-config-validator)
  • If changing pkg/apis/, run make gen-files (N/A)
  • If changing versions, run make gen-versions (CRDs regenerated via make update-enterprise-crds)

For PR reviewers

  • Milestone set according to targeted release.
  • Appropriate labels.

lucastigera and others added 2 commits July 14, 2026 16:10
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 Brian-McM merged commit 9737c80 into tigera:master Jul 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants