Commit Graph

3669 Commits

Author SHA1 Message Date
Rafael
fe896f7e7c Update to v1.32.8 (#12759)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
v1.32.8-rc1+k3s1 v1.32.8+k3s1
2025-08-14 18:53:48 -03:00
Derek Nola
162be7f9c0 Update metric help to be more descriptive. (#12765)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Co-authored-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-14 14:25:33 -07:00
Derek Nola
7b3cbf2f3f Emit certs OK event on startup, if no certs need renewal (#12761)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Co-authored-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-14 11:34:08 -07:00
Brad Davidson
2378be8255 Fix cert startup check events
Ensure that cert checks don't run until after the apiserver is ready to receive events

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 3d4c2cf2cf)
2025-08-12 13:28:18 -07:00
Michael Fritch
a84dc8c41a Merge pull request #12742 from mgfritch/metrics-server-v0.8.0-release-1.32
[Release-1.32] - Bump metrics-server to v0.8.0
2025-08-11 18:16:27 -06:00
Michael Fritch
21d27bde5e Bump metrics-server to v0.8.0
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit fcfafc7278)
2025-08-11 15:47:17 -06:00
thomasferrandiz
1138cdc3e9 Merge pull request #12730 from thomasferrandiz/issue-12723_release-1.32
[Release-1.32] Bump coredns to 1.12.3
2025-08-08 12:09:17 +02:00
Thomas Ferrandiz
72e4739458 Bump coredns to 1.12.3
Signed-off-by: Thomas Ferrandiz <thomas.ferrandiz@suse.com>
2025-08-08 08:26:52 +00:00
Brad Davidson
e096f4b2c3 Fix --docker with --container-runtime-endpoint
The container runtime endpoint value is passed into cri-dockerd as the docker socket address, so we need to check for --docker BEFORE checking for non-nil --container-runtime-endpoint.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-06 16:07:43 -03:00
Brad Davidson
fa9e056bda Fix fallback DNS for IMDS and IPV6-only
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-06 16:07:43 -03:00
Brad Davidson
cd3f2e321e Fix completion command in e2e
Current syntax is incorrect, and while it doesn't break the test it is throwing an error in the logs

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-06 16:07:43 -03:00
Brad Davidson
05fdfb5be2 Bump k3s-io/api to fix etcdsnapshotfile status columns
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-06 16:07:43 -03:00
Brad Davidson
4c5529e8c3 Remove go generate from scripts
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-06 16:07:43 -03:00
muicoder
6f16773c1a refactor: replace go-bindata with native embed package
Signed-off-by: muicoder <muicoder@gmail.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-06 16:07:43 -03:00
Vitor Savian
ab0f5e00a2 Add retention flag specific for s3
* Add retention flag specific for s3
* Add retention for the unit tests:

Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2025-08-05 14:06:52 -03:00
Rafael
ab99e9da82 Update to v1.32.7 (#12651)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
v1.32.7+k3s1 v1.32.7-rc1+k3s1
2025-07-16 16:36:53 -03:00
Brad Davidson
a00164a4dd bump helm-controller and image
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
Brad Davidson
b592673acd Bump containerd to v2.0.5-k3s2
Adds backports of containerd/containerd#11588 and containerd/containerd#12053

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 0d48c8eb49)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
Brad Davidson
91c972b03f Update kine and use config defaults helper
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 5ce3db779d)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
Brad Davidson
6e30f19420 Update to new CRDs
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 7ab7865530)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
github-actions[bot]
6cb606c675 chore: Bump golang:alpine version
Made with ❤️️ by updatecli

(cherry picked from commit 5ed2ef73c3)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
dependabot[bot]
a3cb77baff Bump alpine from 3.21 to 3.22 in /package
Bumps alpine from 3.21 to 3.22.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: '3.22'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 1101b82769)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
ERIK
f0d6958182 Add etcdmigration e2e test
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
(cherry picked from commit be35453220)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
bo.jiang
a756616941 fix: Remove unused legacy certificates
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
(cherry picked from commit db778faaf3)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-07-14 18:24:23 -07:00
Derek Nola
2148e3129c [Release-1.32] GHA Artifacts + Testing Backports July 2025 (#12609)
* Move to more secure split trivy workflow based on labels, not comments (#12592)

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

* Add basic fuzz test

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

* Add retry around common timeout for hardened docker test (#12601)

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

* Remove ghcr build cache (#12602)

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

* Migrate K3s Release Artifacts to GHA (#12606)

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

---------

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-07-11 10:55:58 -07:00
Vitor Savian
a437cddfbe Refac shell completion to a better command structure
* Refac for shell completion

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

* Change FLAGS to OPTIONS

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

* Refac bash and zsh func names

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

* Refac bash and zsh func names

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

---------

Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2025-07-11 03:45:13 -03:00
Derek Nola
266e7b8907 Add usage description for etcd-snapshot (#12574)
Co-authored-by: Manuel Buil <mbuil@suse.com>
2025-07-03 09:24:13 -07:00
Rafael
eb603acd15 Update to v1.32.6 (#12530)
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
v1.32.6-rc1+k3s1 v1.32.6+k3s1
2025-06-20 14:24:40 -03:00
Roberto Bonafiglia
db61a64027 Update network components
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
2025-06-17 14:59:59 +02:00
Brad Davidson
7a7331f25f Bump helm-controller
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-16 16:02:30 -07:00
Brad Davidson
7ce96aa080 Fix rootless e2e test
The install script was starting the service, and then the test itself was restarting it immediately thereafter, which caused frequent flakes.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 0446d79e27)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
Brad Davidson
f8c036e1d4 Fix sqlite-etcd migration
Forgot to add new config to temporary kine in #12293

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 4eabd0f1fd)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
Brad Davidson
0e64363097 Bump dynamiclistener to v0.6.3
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 22d92bcb22)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
Zero King
f3671646f7 Add new topologySpreadConstraints to coredns
Prefer scaling across zones if multiple zones are available.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
bo.jiang
7c45e54f6e Fix K3s not validating datastore connection when no token is set
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
(cherry picked from commit b5f4fd1d73)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
haruna
464522edc0 Improve shebang of bash completion script
Signed-off-by: haruna <w10776e8w@yahoo.co.jp>
(cherry picked from commit d256968ee4)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
bo.jiang
07c4cdc117 Fix secrets encryption rotation timeout causing false failures
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
(cherry picked from commit f7f546a23e)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-13 11:08:21 -07:00
Derek Nola
d2f90f049f Build and push k3s image to GHCR
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-10 09:18:55 -07:00
Derek Nola
f85eb9a74b Remove unused scripts files
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-10 09:18:55 -07:00
Derek Nola
7be2e877fc Remove legacy PROXY Envs in build system
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-10 09:18:55 -07:00
Derek Nola
39b855843d Build k3s overhaul (#12200)
* Add full ci support without Dapper
* Seperate git and other version tags, improves caching on binary builds
* Use new local targets for build-k3s.yaml workflow
* Allow optional ghcr build caching
* Build binary using GHA native commands
* Use internal setup-go action for e2e.yaml
* Add emulation builds to k3s-build.yaml (for arm32 and future riscv64)
* Be consistent in k3s artifact names
* Fix package/dockerfile warnings
* Fix install script for PR installs

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-10 09:18:55 -07:00
Derek Nola
c57ca7a4bb Simplify and update E2E drone pipeline (#10430)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-10 09:18:55 -07:00
Rafael
8e8f2a4726 Update to v1.32.5 (#12361)
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
v1.32.5+k3s1 v1.32.5-rc1+k3s1
2025-05-16 15:26:39 -03:00
Vitor Savian
facc6f605f Change binary max size to 75
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-16 09:55:56 -07:00
Brad Davidson
2b0107a935 Fix e2e startup test
Do more cleanup between runs, collect more logs on failure.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-16 09:55:56 -07:00
Brad Davidson
6e15987918 Fix startuphooks race condition panic
Ensure startup hooks WaitGroup is initialized before starting goroutine that will wait on it

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-15 17:46:02 -07:00
Brad Davidson
8a8c10f542 Fix secretsencryption request handler panic
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-15 17:46:02 -07:00
Brad Davidson
e76ff3251f Fix authorization-config/authentication-config handling
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-15 15:39:17 -07:00
Brad Davidson
59b6093895 Sync datastore config defaults with kine CLI
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 10e3d40bf3)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-13 14:45:15 -07:00
Brad Davidson
7667d8d17a Bump kine and enable sqlite dbstat
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 2747770623)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-13 14:45:15 -07:00