Commit graph

3996 commits

Author SHA1 Message Date
Rafael
e96330febe
Update stable to v1.34.4+k3s1 (#13642)
Some checks failed
Install Script / build (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Install Script / Smoke Test (push) Has been cancelled
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-02-13 20:51:09 -03:00
Rafael
c5b1587989
Update to v1.35.1-k3s1 and Go 1.25.6 (#13638)
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-02-11 11:59:31 -03:00
Brad Davidson
499e1b564b Fix removal of init node
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Removing the initial node from the cluster would previously cause etcd to panic on startup. Fixes to etcd reconcile have stopped that from happening, but now the node will successfully come up and start a new cluster - which is not right either. Require either manual removal of DB files to create a new cluster, or setting server address to join an existing cluster.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-10 15:49:28 -08:00
Brad Davidson
abad5b9fb0 Bump klipper-helm and klipper-lb images
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-10 14:56:47 -08:00
Rafael
084d2f44e7
Add registry prefix to image-list file (#13603)
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-02-10 13:54:23 -03:00
Michael Fritch
7840510d76
Merge pull request #13594 from mgfritch/metrics-server-0.8.1
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
govulncheck / govulncheck (push) Has been cancelled
Install Script / build (push) Has been cancelled
Install Script / Smoke Test (push) Has been cancelled
Bump metrics-server to v0.8.1
2026-02-09 16:57:18 -07:00
Rafael
a29af26c9d
Update stable channel to v1.34.3+k3s3 (#13554)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-02-09 16:11:34 -03:00
Rafael
8fe0464bd4
Update stable channel to v1.34.3+k3s3 (#13554)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-02-09 16:01:06 -03:00
Rafael
834bf2797a
Update stable channel to v1.34.3+k3s3 (#13554)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-02-09 16:00:28 -03:00
Michael Fritch
917aacfbd7
Bump metrics-server to v0.8.1
Signed-off-by: Michael Fritch <mfritch@suse.com>
2026-02-06 15:57:04 -07:00
Michael Fritch
76225dba10
Merge pull request #13499 from k3s-io/updatecli_main_58192f59672b46444171adc60a1ed2e637548441c207e6ffe971ed9efea2d0a5
Bump rancher/mirrored-coredns-coredns image version
2026-02-06 15:01:38 -07:00
Derek Nola
380be5ab3b
Support commit builds via GHA artifacts (#13559)
* Support commit builds via GHA artifacts
* Removed old STORAGE_URL, Fix undefined == sh behavior

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-06 08:29:23 -08:00
Brad Davidson
1f66d51a99 Explicitly close mvcc backend
Fixes issue that could cause excessive CPU usage on first server in embedded-etcd cluster

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-05 14:44:55 -08:00
Brad Davidson
9568459ee0 Bump kine for list/watch revision fixes
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-05 14:44:41 -08:00
Derek Nola
24d6995cd4
Bump scorecard checkout to match all other versions (#13568)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-05 09:32:22 -08:00
dependabot[bot]
9850c5a3da
Bump aws-actions/configure-aws-credentials from 4 to 5 (#13185)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4 to 5.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v4...v5)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 10:20:06 -08:00
zijiren
084c7aafc4
Fix VPN node IP not being applied to kubelet (#13457)
Signed-off-by: zijiren233 <pyh1670605849@gmail.com>
2026-02-04 10:16:09 -08:00
Derek Nola
daa11863d2
Use channel.yaml instead of curling for stable for kubectl install (#13531)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
* Use channel.yaml instead of curling for stable for kubectl install
* Stop vex report from leaking out of make local-image

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-03 17:18:16 -08:00
Brad Davidson
ce17fce058 Add helper function for including stack trace with error message
Not currently used, but was useful in tracking down the specific call path for the empty token handling

Prints error as:
> `msg="Error: starting kubernetes: failed to start cluster: failed to normalize server token; must be in format K10<CA-HASH>::<USERNAME>:<PASSWORD> or <PASSWORD> at github.com/urfave/cli/v2.(*App).RunContext(app.go:333)->github.com/urfave/cli/v2.(*Command).Run(command.go:269)->github.com/urfave/cli/v2.(*Command).Run(command.go:276)->github.com/k3s-io/k3s/pkg/cli/server.Run(server.go:48)->github.com/k3s-io/k3s/pkg/cli/server.run(server.go:629)->github.com/k3s-io/k3s/pkg/server.StartServer(server.go:74)->github.com/k3s-io/k3s/pkg/daemons/control.Server(server.go:72)->github.com/k3s-io/k3s/pkg/cluster.(*Cluster).Start(cluster.go:75)->github.com/k3s-io/k3s/pkg/cluster.Save(storage.go:79)->github.com/k3s-io/k3s/pkg/util.NormalizeToken(token.go:51)"`

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-03 14:47:50 -08:00
Brad Davidson
5e63bbe260 Handle empty token file as nonexistent
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-03 14:47:50 -08:00
Brad Davidson
d9c422a3ab Add IPv6 loopback to kubelet-serving cert
Fixes issue preventing containerd from accessing spegel on ipv6-primary agents. Only affects agents because only agents use the kubelet-serving cert for the supervisor listener.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-03 14:47:34 -08:00
github-actions[bot]
fff51ec8b8 chore: Bump rancher/mirrored-coredns-coredns image version
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Made with ❤️️ by updatecli
2026-02-01 18:12:36 +00:00
github-actions[bot]
61469dc334 chore: Bump rancher/mirrored-coredns-coredns image version
Made with ❤️️ by updatecli
2026-02-01 18:12:35 +00:00
Brad Davidson
e69d18614f Fix filter for wildcards
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Wildcard entry should be bare `*` or `_default`, not a URL

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-30 20:14:55 -08:00
Brad Davidson
b3962bd057 Fix restart of control-plane-only nodes attempting to reconcile from local datastore
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-30 18:39:02 -08:00
Rafael
f061615cb4
Update to v1.35.0 (#13524)
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-01-27 22:27:57 -03:00
Edith Puclla
7856555fcb
Add Percona and Solanica to k3s adopters (#13510)
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Signed-off-by: Edith Puclla <edypuclla@gmail.com>
2026-01-27 14:02:22 -05:00
Brad Davidson
031145c2fa Bump etcd to v3.6.7
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
govulncheck / govulncheck (push) Has been cancelled
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-26 13:39:19 -08:00
Derek Nola
253f2a91f3
Update install tests with new images, add alma10 (#13489)
Some checks failed
Install Script / build (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Install Script / Smoke Test (push) Has been cancelled
* Update install tests with new images, add alma10

Signed-off-by: Derek Nola <derek.nola@suse.com>

* Stop running each provisioning step individually for install tests

Signed-off-by: Derek Nola <derek.nola@suse.com>

---------

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-23 13:14:51 -08:00
github-actions[bot]
5fa9226c2b
chore: Bump golang:alpine version (#13345)
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-22 09:28:35 -08:00
Rahul Rai
8835242159
Fix CVE-2025-54410: Update docker/docker to v25.0.13 (#13473)
Upgrade docker/docker dependency from v25.0.8 to v25.0.13 to address
CVE-2025-54410 which affects Moby/Docker versions before 25.0.13.
This vulnerability could allow containers across different bridge networks
to access each other's ports when firewalld is reloaded, breaking network
isolation.

Signed-off-by: Rahul Rai <rahul.cncf@gmail.com>
2026-01-22 09:27:04 -08:00
dependabot[bot]
696dd9d99a
Bump actions/stale from 10.1.0 to 10.1.1 (#13296)
Some checks are pending
govulncheck / govulncheck (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Bumps [actions/stale](https://github.com/actions/stale) from 10.1.0 to 10.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v10.1.0...v10.1.1)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 10:19:41 -08:00
Derek Nola
f1b166f74f
Move to rootlesskit v2 (#13486)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-21 10:14:10 -08:00
Derek Nola
425630ce22
Prevent caching on PR of golangci-lint entries (#13487)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-21 10:09:46 -08:00
Manuel Buil
5e6460381b Update Traefik version to v3.6.7
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: Manuel Buil <mbuil@suse.com>
2026-01-19 18:06:57 +01:00
Manuel Buil
c24294f24f Fix lines to satisfy lint
Signed-off-by: Manuel Buil <mbuil@suse.com>
2026-01-19 15:35:50 +01:00
Geoffrey Perrin
e61c3b5862
Add Momentum Coach AI to K3S adopters list (#13467)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
* Add Momentum Coach AI to K3S adopters list

Signed-off-by: Geoffrey Perrin <perrin.geoffrey.1@gmail.com>

* Fix typo in "Momentum Coach AI"

Signed-off-by: Geoffrey Perrin <perrin.geoffrey.1@gmail.com>

---------

Signed-off-by: Geoffrey Perrin <perrin.geoffrey.1@gmail.com>
2026-01-16 09:23:25 -05:00
Michael Fritch
04e8f1b5ec
Merge pull request #13449 from mgfritch/coredns-1.14.0
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Bump to coredns 1.14.0
2026-01-09 17:34:49 -07:00
Michael Fritch
d27f36c4c4
Bump to coredns 1.14.0
Signed-off-by: Michael Fritch <mfritch@suse.com>
2026-01-09 15:53:37 -07:00
Brad Davidson
9307d829bf Remove download/generate from vulncheck
This has been broken since july when cb061687d4 was merged

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-09 13:37:36 -08:00
Brad Davidson
358c8cc00f Fix setup-go cache issues
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
govulncheck / govulncheck (push) Has been cancelled
Install Script / build (push) Has been cancelled
Install Script / Smoke Test (push) Has been cancelled
* Move cleanup earlier, to prevent running out of space when restoring caches
* Consistently use local setup-go action to avoid saving cache on PR runs
* Update local setup-go action

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-09 13:23:28 -08:00
Brad Davidson
8c3587dfbc Bump kine for NATS conformance fixes
Includes the long-awaited fixes from
* https://github.com/k3s-io/kine/pull/549

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-09 13:23:28 -08:00
Brad Davidson
9587f67dd1 Update longhorn version in integration test from v1.4.0 to v1.10.1
Manifest from https://raw.githubusercontent.com/longhorn/longhorn/v1.10.1/deploy/longhorn.yaml - with modifications to use rancher-mirrored images to avoid image pull rate limits, and allow operation on a node with fewer resources.

Also adds more log dumping on integration test failure.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-09 10:40:31 -08:00
Brad Davidson
2ed73bed39 Add deferred store implimentation
Some checks are pending
govulncheck / govulncheck (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Spegel insists on checking containerd features when the store is created, so defer creating it until after contaienerd is up

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-08 13:54:14 -08:00
Brad Davidson
efeacc1ed8 Bump spegel to v0.6.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-08 13:54:14 -08:00
Brad Davidson
e4f67846fe Bump expr-lang/expr
Some checks are pending
govulncheck / govulncheck (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Fixes HIGH CVE-2025-68156. This is an indirect dep from github.com/nats-io/jsm.go but it appears they have not yet bumped it either

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-08 11:38:29 -08:00
luojiyin
f42523c55f Fix atomic write in WriteSubnetFile
- Use os.CreateTemp to avoid race conditions with fixed temp filename
   - Add f.Sync() before close to ensure data durability
   - Check all fmt.Fprintf errors instead of ignoring them
   - Preserve original file permissions when overwriting
   - Handle dir== edge case from filepath.Split
   - Check os.MkdirAll error
   - Proper cleanup on all error paths

Signed-off-by: luojiyin <luojiyin@hotmail.com>

Add documentation comments to WriteSubnetFile

   Clarify the design choices for atomic file writing:
   - Explain why CreateTemp is used (defense-in-depth, avoids pre-existing file issues)
   - Document the single-instance assumption
   - Note the permission preservation logic

Signed-off-by: luojiyin <luojiyin@hotmail.com>

Update WriteSubnetFile comment to clarify CreateTemp rationale

   Remove misleading reference to concurrent writes (K3s is single-instance).
   Focus on the actual benefits: avoiding stale temp files from crashes,
   handling unexpected permissions/ownership, and O_EXCL guarantees.

Signed-off-by: luojiyin <luojiyin@hotmail.com>

Refactor cleanup to use merr.NewErrors for better error aggregation

   Address review feedback from @brandond to improve error handling:
   - Change cleanup function to accept error parameter
   - Use merr.NewErrors to aggregate original error with Close/Remove errors
   - Simplify error handling with consistent return cleanup(err) pattern

Signed-off-by: luojiyin <luojiyin@hotmail.com>

Fix Close error handling to preserve original error

   Add cleanupNoClose helper to avoid double Close and preserve the
   original Close error when file close fails.

Signed-off-by: luojiyin <luojiyin@hotmail.com>
2026-01-08 11:37:41 -08:00
Brad Davidson
926bbce8aa Drop use of deprecated docker reexec package
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-08 11:33:17 -08:00
Brad Davidson
ade30b4568 Bump CNI plugins
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-08 11:33:17 -08:00
Rafael
b167ee165d
Push GA images to staging registry (#13438)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
2026-01-08 14:46:19 -03:00