Commit graph

4070 commits

Author SHA1 Message Date
Derek Nola
eb991b23eb
Bump mirrored-pause to 3.10.2 (#14339) (#14392)
* Bump to 3.10.2

---------

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-10 14:42:16 -07:00
Brad Davidson
4350867600 Pass through config.DisableAgent in snapshot request handler
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Fixes issue with on-demand snapshots on agentless servers

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 7bee37f9a8)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Brad Davidson
21d670d673 Emit events attached to node when snapshot retention fails
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 9fedc866b5)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Artem Muterko
7f415c8ca0 Redact single-dash secret flags in the node args annotation
Signed-off-by: Artem Muterko <artem@sopho.tech>
(cherry picked from commit 5a22c7d4eb)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Archy
d0aaece73f Synchronize egress map and CIDR trie reads in tunnel dialBackend (#14341)
(cherry picked from commit 58fe8e5f2f)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Brad Davidson
6b61f0959c Add backoff to initial snapshot reconcile
Backoff starts at 1s and doubles, up to max of 32 seconds

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 79b2e9ee84)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Bheema Reddy
d18a5f19c4 fix: re-import airgap images when timestamp changes even if size is same (#14288)
(cherry picked from commit d8317a64c1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Brad Davidson
b430c5bed6 Bump spegel to v0.7.2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit c7f983a9e2)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Brad Davidson
01aca59860 Bump kine to v0.16.3 for perf improvements
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit b0dae7180f)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Brad Davidson
0c800b866b Add helm-controller-arg
Replaces helm-job-image flag, and allows setting other new helm-controller options (job-resources and job-tolerations)

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 9b575c4e56)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>

Add deprecation message in the flag description

Signed-off-by: Manuel Buil <mbuil@suse.com>
(cherry picked from commit 7595fe7b83)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Sebastien Tardif
0a0826b40a fix: pre-apply feature gates before embedded API server starts
In the embedded executor, all Kubernetes components share a single
global utilfeature.DefaultFeatureGate. Feature gate flag parsing
normally occurs inside command.ExecuteContext(), but the API server's
REST storage registration can read the global gate before flags are
parsed, seeing alpha-default values instead of user-configured ones.

This causes an intermittent race condition where alpha feature gates
(e.g. InPlacePodVerticalScaling on K8s v1.32) are ignored even when
correctly configured via the k3s config file. The race depends on
goroutine scheduling: REST storage registration may complete before
the feature gate flag is parsed, causing the API server to not
register the corresponding subresources (e.g. pods/resize).

Fix: extract the feature-gates value from the API server args and
apply it to DefaultMutableFeatureGate before creating the API server
command and starting its goroutine. This ensures the global gate
reflects user configuration before any component reads it. The
subsequent flag parsing in ExecuteContext() will set the same values
again (idempotent).

Ref k3s-io/k3s#14286

AI-assisted: This change was developed with AI assistance.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
(cherry picked from commit 43c121791c)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>

fix: trim comment and include feature-gates value in warning

Apply reviewer suggestion: reduce verbose comment to a single line
and include the feature-gates value in the warning message.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
(cherry picked from commit ae1d51f4f4)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
immanuwell
7ff19d89ef fix: preserve logical paths for symlinked manifests
Signed-off-by: immanuwell <pchpr.00@list.ru>
(cherry picked from commit 419a3f3e25)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Neil
8911db12f2 Fix image-endpoint assignment in run_linux.go (#14246)
I am not sure if cre was used there on purpose, but it seems that the image service endpoint is the correct variable that should be used there.

Signed-off-by: Neil  <khair_talap@outlook.com>
Signed-off-by: neiltalap <khair_talap@outlook.com>
(cherry picked from commit f6d226eaf3)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Brad Davidson
3ead5bf2bd Add image names to file cache
Image names are used to re-add the pinned label when importing is
skipped due to the image being skipped due to cache checks. This is done
once on startup, same as pinned label clearing.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit aed887dafb)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-07-09 14:36:04 -07:00
Derek Nola
0cf20b3618 Rework build-k3s.yaml to handle mutliple platforms with smart runner selection
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-07 09:07:42 -07:00
Derek Nola
c2e8e219c1 Build k3s with xx to avoid QEMU emulation cost
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-07 09:07:42 -07:00
Derek Nola
f5fd383220 Add platform mapping helper
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-07 09:07:42 -07:00
Derek Nola
9b89380576 Migrate from local targets to defaults (#14204)
* Rename `local-XXX` to just `XXX` now that Dapper is dead

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-07 09:07:42 -07:00
dependabot[bot]
a523e07b58 build(deps): bump the action-deps group with 7 updates (#14226)
Bumps the action-deps group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [docker/setup-docker-action](https://github.com/docker/setup-docker-action) | `5.0.0` | `5.2.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.0.0` | `4.1.0` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `4.0.0` | `4.1.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `7.1.0` | `7.2.0` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.5.3` | `7.0.0` |
| [actions/stale](https://github.com/actions/stale) | `10.2.0` | `10.3.0` |
| [updatecli/updatecli-action](https://github.com/updatecli/updatecli-action) | `3.1.2` | `3.3.0` |

Updates `docker/setup-docker-action` from 5.0.0 to 5.2.0
- [Release notes](https://github.com/docker/setup-docker-action/releases)
- [Commits](1a6edb0ba9...0234bb73cc)

Updates `docker/setup-buildx-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](4d04d5d948...d7f5e7f509)

Updates `docker/setup-qemu-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](ce360397dd...06116385d9)

Updates `docker/build-push-action` from 7.1.0 to 7.2.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](bcafcacb16...f9f3042f7e)

Updates `codecov/codecov-action` from 5.5.3 to 7.0.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](1af58845a9...fb8b3582c8)

Updates `actions/stale` from 10.2.0 to 10.3.0
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](b5d41d4e1d...eb5cf3af3a)

Updates `updatecli/updatecli-action` from 3.1.2 to 3.3.0
- [Release notes](https://github.com/updatecli/updatecli-action/releases)
- [Commits](af341a800c...5bda7da77b)

---
updated-dependencies:
- dependency-name: docker/setup-docker-action
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: action-deps
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: action-deps
- dependency-name: docker/setup-qemu-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: action-deps
- dependency-name: docker/build-push-action
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: action-deps
- dependency-name: codecov/codecov-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: action-deps
- dependency-name: actions/stale
  dependency-version: 10.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: action-deps
- dependency-name: updatecli/updatecli-action
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: action-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-07 09:07:42 -07:00
Derek Nola
6c4d31d5ce Provide GOCOVERDIR to kubectl for E2E tests on GHA host
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-06 12:11:25 -07:00
Derek Nola
62fa4d37a8 Fix coverage reports for e2e and integration tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-06 12:11:25 -07:00
Derek Nola
80d2c68e8d Bump parallel to 5
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-06 12:11:25 -07:00
Derek Nola
4a22f09689 Unit test expansion (#14249)
* Expand unit tests for cridockerd and flannel packages
* Cover utility functions in loadbalancer package
* Add unit tests for encrypt/decrypt helper functions
* Add unit tests for isolated methods/functions

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-06 12:11:25 -07:00
Vitor Savian
86c2c10c51 Bump containerd to v2.2.5-k3s1.33
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2026-06-23 00:32:21 -07:00
Vitor Savian
a45d8b94ce Download script fix to not be based for /v to use a better pattern for versions
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2026-06-23 00:32:21 -07:00
Rafael
c68c3c48e4
Update to v1.33.13 (#14227)
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
2026-06-16 12:15:27 -03:00
Chris Wayne
ec0233f40b Bump klipper-helm for CVE reasons (#14235)
Signed-off-by: cwayne18 <cwayne18@users.noreply.github.com>
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2026-06-15 17:01:16 -03:00
Derek Nola
b1a9339db2 Bump timeout on split-role etcd startup
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
e40ea68d0c update supported E2E linux OSes
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
34bea5ca72 Make spegel test dualstack
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
96e31b448d Cache vagrant plugins
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
be5c0aeee6 Only run docker-large on the k3s-io org
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
1f9e8127d0 Optimize order of e2e and integration tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
f2f3527c01 Add docker scale test for large CNCF runners
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
c0427cac5d Use 16 core cncf runners to build k3s
Add actionlint exception for CNCF runner names
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
b4122bb583 bump DeterminateSystems/nix-installer-action from 21 to 22
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
a071aa0fd7 Use locally built kubectl in testing
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
c68e54d095 Remove unused test targets from Dockerfile.test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
c2addd9cf6 Remove reference to dapper in updateCLI
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Brad Davidson
ead8a0defb Revert "Add runtime checking of golang version"
This reverts commit b297996b92.
2026-06-10 15:20:09 -07:00
github-actions[bot]
a14e6f83a3 chore: Update CoreDNS image version in manifests/coredns.yaml
Made with ❤️️ by updatecli

(cherry picked from commit 678d534a13)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
github-actions[bot]
d1436c1a57 chore: Update CoreDNS image version in scripts/airgap/image-list
Made with ❤️️ by updatecli

(cherry picked from commit 9e85ecfa64)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Brad Davidson
44b4e50a7b Bump k3s-root to v0.15.2
Bumps buildroot from 2025.02.5 to 2025.02.14, ref: https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02.14/CHANGES

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit df44a4f445)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Brad Davidson
3d248ec558 Fix cloud-controller-manager exiting due to missing core RBAC
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit b82b0881ad)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Brad Davidson
be06e97c4a Reduce GRPC console spam
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit f96256622a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Dimitris Karakasilis
b645fe73de Bump golang.org/x/net to v0.55.0 to fix CVE-2026-39821 (#14203)
The replace directive pinned golang.org/x/net to v0.49.0, which is
affected by CVE-2026-39821 / GO-2026-5026: idna.ToASCII and ToUnicode
incorrectly accept Punycode-encoded labels that decode to ASCII-only
labels, which can lead to a hostname-based privilege-escalation bypass.

govulncheck confirms the vulnerable symbol is reachable from k3s code
(idna.ToASCII via the http2 transport's authorityAddr when dialing the
apiserver, and via httpproxy config in pkg/agent/loadbalancer). The
fix is in golang.org/x/net v0.55.0.

This only touches the idna/http2 internals; k3s's direct use of the
proxy, context and http/httpproxy packages is unchanged and the bump
requires no code adaptation.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
(cherry picked from commit c9e0bc85ed)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Amaan Ul Haq Siddiqui
7f0f2f2a97 test(kubeflags): add K3sCleanup between server restarts to fix flake
Signed-off-by: Amaan Ul Haq Siddiqui <amaanulhaq.s@outlook.com>
(cherry picked from commit ddf4dc023a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Manuel Buil
91415cef77 Bump v3.7.4 Traefik
Signed-off-by: Manuel Buil <mbuil@suse.com>
2026-06-09 16:14:26 +02:00
Brad Davidson
265039bfe3 Bump max binary size to 80mb
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Syncs with newer branches

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-03 14:52:45 -07:00
Brad Davidson
7788b01b1b bump etcd to v3.6.12
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 68d784cabd)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-03 14:52:45 -07:00