Skip to content

fix(deps): update k8s to v0.35.4 (9.4)#4729

Merged
elastic-renovate-prod[bot] merged 10 commits into9.4from
renovate/9.4-k8s
Apr 22, 2026
Merged

fix(deps): update k8s to v0.35.4 (9.4)#4729
elastic-renovate-prod[bot] merged 10 commits into9.4from
renovate/9.4-k8s

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

@elastic-renovate-prod elastic-renovate-prod Bot commented Apr 16, 2026

This PR contains the following updates:

Package Type Update Change
k8s.io/api require minor v0.34.3 -> v0.35.4
k8s.io/apimachinery require minor v0.34.3 -> v0.35.4
k8s.io/client-go require minor v0.34.3 -> v0.35.4
k8s.io/kubectl indirect minor v0.33.3 -> v0.35.4

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

kubernetes/api (k8s.io/api)

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

v0.35.1

Compare Source

v0.35.0

Compare Source

v0.34.7

Compare Source

v0.34.6

Compare Source

v0.34.5

Compare Source

v0.34.4

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

v0.35.1

Compare Source

v0.35.0

Compare Source

v0.34.7

Compare Source

v0.34.6

Compare Source

v0.34.5

Compare Source

v0.34.4

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

v0.35.1

Compare Source

v0.35.0

Compare Source

v0.34.7

Compare Source

v0.34.6

Compare Source

v0.34.5

Compare Source

v0.34.4

Compare Source

kubernetes/kubectl (k8s.io/kubectl)

v0.35.4

Compare Source

v0.35.3

Compare Source

v0.35.2

Compare Source

v0.35.1

Compare Source

v0.35.0

Compare Source

v0.34.7

Compare Source

v0.34.6

Compare Source

v0.34.5

Compare Source

v0.34.4

Compare Source

v0.34.3

Compare Source

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.11

Compare Source

v0.33.10

Compare Source

v0.33.9

Compare Source

v0.33.8

Compare Source

v0.33.7

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare Source


Configuration

📅 Schedule: Branch creation - "* 1 * * 1-5" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels Apr 16, 2026
@elastic-renovate-prod elastic-renovate-prod Bot requested a review from a team as a code owner April 16, 2026 23:20
@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file labels Apr 16, 2026
@elastic-renovate-prod elastic-renovate-prod Bot enabled auto-merge (squash) April 16, 2026 23:20
@elastic-renovate-prod
Copy link
Copy Markdown
Contributor Author

elastic-renovate-prod Bot commented Apr 16, 2026

ℹ 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):

  • 3 additional dependencies were updated

Details:

Package Change
k8s.io/cli-runtime v0.33.3 -> v0.35.4
k8s.io/component-base v0.33.3 -> v0.35.4
k8s.io/utils v0.0.0-20250820121507-0af2bda4dd1d -> v0.0.0-20251002143259-bc988d571ff4

@elastic-renovate-prod elastic-renovate-prod Bot added renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels Apr 16, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 16, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/9.4-k8s upstream/renovate/9.4-k8s
git merge upstream/9.4
git push upstream renovate/9.4-k8s

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 17, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/9.4-k8s upstream/renovate/9.4-k8s
git merge upstream/9.4
git push upstream renovate/9.4-k8s

@elastic-renovate-prod elastic-renovate-prod Bot force-pushed the renovate/9.4-k8s branch 3 times, most recently from 3832081 to ba746e5 Compare April 18, 2026 03:00
@elastic-renovate-prod elastic-renovate-prod Bot changed the title fix(deps): update k8s (9.4) fix(deps): update k8s to v0.35.4 (9.4) Apr 18, 2026
@elastic-renovate-prod elastic-renovate-prod Bot force-pushed the renovate/9.4-k8s branch 2 times, most recently from 8ecf1e6 to 6c13967 Compare April 22, 2026 02:53
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 22, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/9.4-k8s upstream/renovate/9.4-k8s
git merge upstream/9.4
git push upstream renovate/9.4-k8s

Copy link
Copy Markdown
Contributor

@jeniawhite jeniawhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - approving for auto-merge

…vider tests

k8s v0.35 enables WatchListClient by default, causing informer cache sync
to hang when using the fake client in tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@elastic-renovate-prod
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.

jeniawhite and others added 3 commits April 22, 2026 10:17
…eout

k8s v0.35+ fake.NewClientset triggers a one-time sync.Once that parses a
large JSON schema via structured-merge-diff. This initialization can take
>100ms and times out the pre-commit go-test hook (-timeout 100ms).

Add a TestMain to all test packages that use fake.NewClientset, calling
fake.NewClientset() once before m.Run(). TestMain runs before the test
timeout timer starts, so the slow first-call cost is amortized outside of
the 100ms window.

Affected packages:
- internal/dataprovider/providers/k8s
- internal/flavors/benchmark
- internal/processor/add_cluster_id
- internal/resources/fetching/fetchers/aws
- internal/resources/fetching/fetchers/k8s (pre-warm added to existing TestMain)
- internal/uniqueness

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The revive linter flags os.Exit in TestMain as redundant since Go 1.15:
the test runner automatically propagates the exit code when TestMain
returns. Drop os.Exit and the unused "os" import from all setup_test.go
files.

The fake.NewClientset() pre-warm still runs before m.Run(), so the
100ms timeout workaround remains effective.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
k8s v0.35+ marks fake.NewSimpleClientset as deprecated in favor of
fake.NewClientset which supports field management for server-side apply.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 22, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/9.4-k8s upstream/renovate/9.4-k8s
git merge upstream/9.4
git push upstream renovate/9.4-k8s

jeniawhite and others added 2 commits April 22, 2026 11:13
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Resolve conflict by keeping k8s packages at v0.35.4 (the PR update).
Include kubectl v0.33.3 hashes from 9.4 for full module-graph coverage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mergify mergify Bot added the queued label Apr 22, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 22, 2026

Merge Queue Status

  • Entered queue2026-04-22 16:38 UTC · Rule: default
  • 🚫 Left the queue2026-04-22 16:38 UTC · at ab1abc3b021b3b9fd95fb55dc409ff76a87067de

This pull request spent 7 seconds in the queue, with no time running CI.

Reason

The pull request conflicts with the base branch

Hint

You should update or rebase your pull request.

If you want to requeue this pull request, you can post a @mergifyio queue comment.

@mergify mergify Bot added the dequeued label Apr 22, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 22, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b renovate/9.4-k8s upstream/renovate/9.4-k8s
git merge upstream/9.4
git push upstream renovate/9.4-k8s

jeniawhite and others added 2 commits April 22, 2026 11:56
Resolve go.mod: take k8s.io/apiextensions-apiserver v0.35.4 and
k8s.io/apiserver v0.35.4 from 9.4 (branch had stale v0.33.3 indirect
deps that go mod tidy would upgrade to match k8s.io/api v0.35.4).

Resolve go.sum: take v0.35.4 hashes, remove stale kubectl v0.33.3 entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
With k8s.io/kubectl v0.35.4, mxk/go-flowrate is no longer in the
dependency graph and go mod tidy removes it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@elastic-renovate-prod elastic-renovate-prod Bot merged commit a5ac49c into 9.4 Apr 22, 2026
10 checks passed
@elastic-renovate-prod elastic-renovate-prod Bot deleted the renovate/9.4-k8s branch April 22, 2026 17:40
jeniawhite added a commit that referenced this pull request Apr 22, 2026
Resolve kubectl conflict: take v0.35.4 from 9.4 (merged via PR #4729)
over branch's v0.35.1 (from helm's transitive deps), as MVS picks max.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant