Commit Graph
115 Commits
Author SHA1 Message Date
9c82b68440 Update GitHub Actions (#994)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-07-08 11:33:02 +02:00
2e1781f022 Update golangci/golangci-lint-action action to v9.3.0 (#990)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-07-07 22:53:51 +02:00
39cc69f3e3 Added HCP (Hosted Control Plane) mode (#876)
* Add HCP (Hosted Control Plane) support

Introduce hosted control plane mode for k3k virtual clusters, including
API types, controller logic, server endpoint handling, CLI flags,
CRD updates, kubeconfig generation, and examples.

Co-Authored-By: RuFlo <ruv@ruv.net>

* removed hcpRegitration command

added HCP conformance tests

warning for hcp

fix multi-VM HCP conformance test networking

  Both QEMU workers booted with `-net user` and ended up registering the
  same InternalIP (10.0.2.15) because each VM gets its own isolated NAT
  slirp. Flannel propagated this to `public-ip` on both nodes, so VXLAN
  could not tunnel between workers and any cross-node pod traffic broke
  (89 failed / 335 passed of 424 conformance specs).

  Replace user-mode networking with a Linux bridge (k3kbr0,
  192.168.100.0/24) and one TAP device per VM, so the two workers share
  an L2 segment with unique routable IPs. NAT outbound from the bridge
  keeps internet access working for image pulls.

  Also set unique hostnames via cloud-init (worker-1/worker-2) and drop
  the `--node-name` flag from INSTALL_K3S_EXEC, since k3s now picks the
  correct node name from the OS hostname on its own.

  Bump hydrophone back to `--parallel 4` to match the single-VM job
  (parallelism was reduced earlier when the failure was thought to be
  resource-related).

added HCP print command

updated crds

adding e2e tests

Refactor selectNonLoopbackSAN function to accept SANs directly and update related logic in ensureHCPRegistration

* Update agent flag validation and enhance ingress host check with a warning log

Refactor descriptions for cluster provisioning mode and role in CRDs and documentation

Refactor logging in ServerURL function to use controller-runtime logger

Rename selectNonLoopbackSAN to findNonLoopbackSAN for clarity and update references

Refactor ServerURL function and related code to remove unused parameters and improve clarity

Remove unused imports from kubeconfig.go to improve code clarity

* suggested changes

* fix comment

* fix test

---------

Co-authored-by: jpgouin <jeanphilippe.gouin@suse.com>
Co-authored-by: RuFlo <ruv@ruv.net>
2026-07-07 14:12:19 +02:00
88122905c9 Update GitHub Actions (#986)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-07-06 14:09:58 +02:00
d94b9d685e Update GitHub Actions (#969)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-07-03 17:49:16 +02:00
7879a7679d Update ginkgo and gomega (main) (#956)
* Update ginkgo and gomega

* Update Ginkgo to version 2.32.0 in workflows and Makefile

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Enrico Candino <enrico.candino@suse.com>
2026-07-02 12:34:00 +02:00
Enrico CandinoandGitHub ed3e901229 Add K3K prefix to k3kcli env vars, align cli test, add failCount (#962)
* align test-cli

* test context

* increase timeout

* Enhance cluster readiness check with failure count limit
Add prefix K3K to env vars
2026-07-01 11:14:37 +02:00
d75c0346da Update ginkgo and gomega (main) (#922)
* Update ginkgo and gomega

* Update Ginkgo version to v2.31.0 in workflows and Makefile

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Enrico Candino <enrico.candino@suse.com>
2026-06-25 19:44:06 +02:00
5dcc97736f Update actions/setup-go digest to 924ae3a (#934)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-25 17:47:19 +02:00
4526ba8962 Update rancher/renovate-config digest to fc79cf4 (#935)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-25 11:07:09 +02:00
22b4e1d37a Update codecov/codecov-action action to v7 (#936)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-25 10:56:53 +02:00
667946e898 Update actions/checkout action to v7 (#940)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-25 10:47:40 +02:00
f28666692c Update rancher/renovate-config digest to af4fff4 (#919)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-19 12:13:45 +02:00
00e50127b2 Update golangci/golangci-lint-action action to v9.2.1 (#921)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-19 12:12:56 +02:00
a8be7b888d Update rancher/renovate-config digest to 206454e (#911)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-16 09:33:26 +02:00
09d8f5a2c4 Update rancher/renovate-config digest to f6f6a07 (#902)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-15 16:11:39 +02:00
656cf5969f Update rancher/renovate-config digest to a473c74 (#870)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-10 14:43:56 +02:00
8e39493dac Update GitHub Actions (#865)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-06-10 11:10:56 +02:00
Enrico CandinoandGitHub 63252658c4 added branch release/v1.1 to renovate config (#888) 2026-06-09 15:37:05 +02:00
fbaac329d1 Update github/codeql-action action to v4 (#862)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-05-21 11:31:58 +02:00
Enrico CandinoandGitHub 3270c27212 bump Go to 1.26.3 and some deps (#863) 2026-05-21 11:31:30 +02:00
51b40f2a9c Update GitHub Actions (#824)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-05-21 00:13:04 +02:00
07625097fc Update rancher/renovate-config digest to 45f7159 (#823)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-05-21 00:12:40 +02:00
Enrico CandinoandGitHub 00dcdabcef Bump charts to 1.1.0 (#851) 2026-05-11 13:51:17 +02:00
d73d0ae93b Update rancher/renovate-config digest to 9d3c102 (#817)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-28 14:25:57 +02:00
6e7d8f2e57 Update rancher/renovate-config digest to e1355a7 (#799)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-24 14:03:28 +02:00
Enrico CandinoandGitHub 6968205016 fix kubeconfig (#795) 2026-04-16 11:21:31 +02:00
08eb689537 chore(deps): update rancher/renovate-config digest to a9fa41f (#784)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-16 10:33:51 +02:00
d11c7b9256 chore(deps): update github/codeql-action digest to ce64ddc (#793)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-16 10:24:40 +02:00
Enrico CandinoandGitHub cf1277db53 Fix helm install (#791)
* fix helm install

* fixfix
2026-04-15 16:35:53 +02:00
4ace86b5ec chore(deps): update actions/upload-artifact digest to 043fb46 (#776)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-15 11:34:14 +02:00
Enrico CandinoandGitHub 0e8cca8147 Remove goreleaser action (#788) 2026-04-15 09:16:18 +02:00
0395befc54 chore(deps): update rancher/renovate-config digest to 240174f (#760)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-09 11:16:26 +02:00
Enrico CandinoandGitHub d5f3c3e304 Conformance tests report (#757)
* upload reports, run all conformance

* set parallel

* select k8s version for manual trigger

* added k3k version input

* wait for k3k deployment instead of pod
2026-04-09 10:57:04 +02:00
Enrico CandinoandGitHub e21b1b6ba6 bump go to 1.25.9 and golancilint (#759) 2026-04-09 10:56:35 +02:00
3ec41c3717 chore(deps): update rancher/renovate-config digest to 20f34a3 (#743)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-08 23:03:34 +02:00
Enrico CandinoandGitHub ba819618e3 Cleanup tests and small fixes (#741)
* Added missing k3k pod logs export

* fix env variables

* bump codecov action to v6 (node 24 support)

* remove azure/setup-helm dependency, fixed k3s image

* fix shasum

* fix helm check

* added kubernetes version matrix

* requested changes, and small fixes
2026-04-04 02:50:03 +02:00
Enrico CandinoandGitHub c4cd768789 Added release/v1.0 branch to renovate config (#740) 2026-04-03 16:28:36 +02:00
20b42b0dcf chore(deps): update github actions (#731)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-04-03 10:55:24 +02:00
Enrico CandinoandGitHub 93e8ab6d8f update K3S_HOST_VERSION and use variable in cli tests (#734) 2026-03-31 11:12:25 +02:00
Jonathan CrowtherandGitHub 8403214d58 Pin installed versions to specific hashes (#730) 2026-03-27 11:16:39 -04:00
f4cd57b9f5 chore(deps): update github actions (#711)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-03-23 14:54:13 +01:00
0dbd930292 chore(deps): update github actions (#653)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-03-23 13:05:15 +01:00
Enrico CandinoandGitHub 9554628fc5 Update virtual-kubelet (v1.12) and Kubernetes deps (v1.35) (#716)
* bump virtual-kubelet and k8s

* bump controller-manager

* fix upgrade-downgrade

* fix kubernetes version

* Update tests_suite_test.go

* removed direct dep of yaml.v2, bump etcd modules
2026-03-23 12:51:43 +01:00
Guilherme Macedo 34ef69ba50 chore(ci): bump aquasecurity/trivy-action to v0.35.0
Signed-off-by: Guilherme Macedo <guilherme@gmacedo.com>
2026-03-20 11:16:51 -03:00
Enrico CandinoandGitHub 7b0f695248 Bump some tes dependencies and fix lint (#708) 2026-03-18 17:43:41 +01:00
0b214e0769 chore(deps): update github actions (#642)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2026-03-18 12:24:18 +01:00
Enrico CandinoandGitHub 9fae02fcbf Pin QEMU setup to use tonistiigi/binfmt:qemu-v10.0.4-56 image (#669) 2026-02-16 15:28:30 +01:00
Enrico CandinoandGitHub 004e177ac1 Bump kubernetes dependencies (v1.33) (#647)
* bump kubernetes to v0.33.7

* updated kuberneets api versions

* bump tests

* fix k3s version

* fix test

* centralize k8s version

* remove focus

* revert GetPodCondition, GetContainerStatus and pin of k8s.io/controller-manager
2026-01-27 22:28:56 +01:00
3681614a3e Update dependency golangci/golangci-lint to v2.8.0 (#635)
* Update dependency golangci/golangci-lint to v2.8.0

* bump golangci-lint version in github action

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Enrico Candino <enrico.candino@suse.com>
2026-01-26 13:30:26 +01:00