Skip to content

Update module k8s.io/apimachinery to v0.36.2#114

Merged
ytsarev merged 6 commits into
mainfrom
renovate/kubernetes-monorepo
Jul 21, 2026
Merged

Update module k8s.io/apimachinery to v0.36.2#114
ytsarev merged 6 commits into
mainfrom
renovate/kubernetes-monorepo

Conversation

@renovate

@renovate renovate Bot commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
k8s.io/apimachinery v0.35.3v0.36.2 age confidence

Release Notes

kubernetes/apimachinery (k8s.io/apimachinery)

v0.36.2

Compare Source

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.6

Compare Source

v0.35.5

Compare Source

v0.35.4

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch 3 times, most recently from bbe5ab0 to 8a96ba1 Compare April 13, 2026 12:33
@renovate renovate Bot changed the title Update module k8s.io/apimachinery to v0.35.3 Update module k8s.io/apimachinery to v0.35.4 Apr 16, 2026
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch from 8a96ba1 to 588587c Compare April 16, 2026 08:44
@renovate renovate Bot changed the title Update module k8s.io/apimachinery to v0.35.4 Update module k8s.io/apimachinery to v0.36.0 Apr 22, 2026
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch from 588587c to 4742076 Compare April 22, 2026 23:42
@renovate

renovate Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.10 -> 1.26.0
google.golang.org/protobuf v1.36.11 -> v1.36.12-0.20260120151049-f2248ac996af
k8s.io/klog/v2 v2.130.1 -> v2.140.0
k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4 -> v0.0.0-20260317180543-43fb72c5454a
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 -> v6.3.2

@renovate renovate Bot changed the title Update module k8s.io/apimachinery to v0.36.0 Update module k8s.io/apimachinery to v0.36.1 May 13, 2026
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch from 4742076 to 2e69830 Compare May 13, 2026 01:45
@renovate renovate Bot changed the title Update module k8s.io/apimachinery to v0.36.1 Update kubernetes monorepo to v0.36.1 Jun 2, 2026
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch from 2e69830 to 5a30d74 Compare June 2, 2026 22:21
@renovate renovate Bot changed the title Update kubernetes monorepo to v0.36.1 Update kubernetes monorepo to v0.36.2 Jun 12, 2026
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch from 5a30d74 to 9526bdb Compare June 12, 2026 23:13
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch from 9526bdb to e382fa3 Compare June 20, 2026 00:26
@renovate renovate Bot changed the title Update kubernetes monorepo to v0.36.2 Update kubernetes monorepo Jun 22, 2026
@renovate renovate Bot changed the title Update kubernetes monorepo Update module k8s.io/apimachinery to v0.36.2 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/kubernetes-monorepo branch 3 times, most recently from 4bab991 to 8e153bf Compare July 21, 2026 11:15
@ytsarev
ytsarev force-pushed the renovate/kubernetes-monorepo branch from 8e153bf to 71a1c01 Compare July 21, 2026 12:00
@renovate

renovate Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate Bot and others added 2 commits July 21, 2026 14:00
k8s.io/apimachinery v0.36.2 raised the go.mod go directive to 1.26.0,
but CI pinned GO_VERSION=1.25.10 with GOTOOLCHAIN=local, causing lint,
unit-test and build jobs to fail with:
  go: go.mod requires go >= 1.26.0 (running go 1.25.10; GOTOOLCHAIN=local)
@ytsarev
ytsarev force-pushed the renovate/kubernetes-monorepo branch from 71a1c01 to f6e231b Compare July 21, 2026 12:00
ytsarev added 4 commits July 21, 2026 14:10
golangci-lint v2.8.0 is built with Go 1.25 and refuses to lint a module
targeting Go 1.26:
  can't load config: the Go language version (go1.25) used to build
  golangci-lint is lower than the targeted Go version (1.26.0)

v2.12.2 is built with Go 1.26.
The golangci-lint v2.12.2 bump (needed for Go 1.26) surfaced goconst
findings that v2.8.0 did not report:

- fn.go: extract repeated Microsoft Graph field-name literals
  (displayName, appId, description) into named constants.
- .golangci.yml: set goconst.ignore-tests to skip repeated string
  literals in test fixtures, where extracting constants would only
  reduce readability.

No behavior change. Verified locally with golangci-lint v2.11.4
(built with go1.26.1): 0 issues, all unit tests pass.
Reverts goconst.ignore-tests so test code is linted too, and instead
resolves the goconst findings by extracting the repeated string literals
in fn_test.go into named constants:

- fn.go: add fieldMail, fieldUserPrincipalName, fieldType field-name
  constants (alongside the existing displayName/appId/description) and
  use them in production map keys and $select projections.
- fn_test.go: add a fixture const block (testRequestTag, testAzureCredsName,
  condTypeFunctionSuccess, the per-query-type messages, etc.) and reuse
  the field-name constants across the table-driven cases.

Literals inside raw-string JSON fixtures are left untouched (they are
single string literals, not separate tokens). No behavior change;
verified locally with golangci-lint: 0 issues, all unit tests pass.
Two goconst findings surfaced only under golangci-lint v2.12.2 (local
v2.11.4 did not report them):

- Promote userType/servicePrincipalType/unknownType from function-local
  constants in processMember to package level, and reuse them for the
  repeated "user"/"servicePrincipal" literals in fn_test.go.
- Add testUser1Email for the repeated "user1@example.com" fixture.

Verified with golangci-lint v2.12.2 (CI parity): 0 issues, tests pass.
@ytsarev
ytsarev merged commit c31a4c3 into main Jul 21, 2026
5 checks passed
@ytsarev
ytsarev deleted the renovate/kubernetes-monorepo branch July 21, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants