27 Commits

Author SHA1 Message Date
Vic Kerr
2e63a10909 go: bump to 1.24 (#507)
* go: bump to 1.24

* Bump go to v1.24

* Bump dependecies

* Update e2e config

* Bump go-proxmox client to latest commit, Fixes tests, and linting

* Revert "Bump dependecies"

This reverts commit dbf1ff80ebafe4c263b61919123e547703faa7e8.

* Pin CAPI to v1.10.4 and update/fix e2e tests

* Fix unit tests

* Bump GO v1.24.5

---------

Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com>
2025-07-28 11:13:27 +00:00
Mohamed Chiheb Ben Jemaa
c2563bcee6 Improve the template and error logs 2025-03-25 12:38:43 +01:00
Mohamed Chiheb Ben Jemaa
5131aa2326 Update proxmox-ci.yaml 2025-03-25 12:38:43 +01:00
Mohamed Chiheb Ben Jemaa
d4f2084627 Update proxmox-ci.yaml 2025-03-25 12:38:43 +01:00
Mohamed Chiheb Ben Jemaa
381d3c0f61 E2e Test Run Ubuntu 24.04 and k8s 1.32 2025-03-25 12:38:43 +01:00
Vic Kerr
f3e36affc2 release v0.7.0 2025-03-13 16:52:28 +01:00
Vic Kerr
92ac7a597d update copyright 2025-03-13 16:52:28 +01:00
Vic Kerr
de65752ea1 CAPI 1.9.5, k8s/* 0.31.6, controller-runtime 0.19.6, controller-gen 0.16.5 (#388)
* config/{crd,rbac}: regen
* bump github.com/google/cel-go to 0.20.1
* docs, e2e: bump kubernetes to 1.31.6
* */*.go: silence lint about cluster-api/errors and Failure{Message,Reason} deprecation
2025-03-12 14:39:57 +00:00
Mohamed Chiheb Ben Jemaa
fd3b7f0fac Enable logging for e2e tests (#430)
* Enable logging for e2e tests

* Try adding hosts
2025-03-03 13:00:13 +01:00
Mohamed Chiheb Ben Jemaa
6c216d6185 Bump CAPI ipam to v1.0.0 (#351)
* Bump CAPI ipam

* Update proxmox-ci.yaml

* Update proxmox-dev.yaml

* Update metadata.yaml

* Update deps
2024-12-06 10:41:42 +00:00
Vic Kerr
8b892ad6b6 release v0.6.0 2024-12-05 13:45:51 +01:00
Mohamed Chiheb Ben Jemaa
acddc389ff Support Flatcar and provide ignition bootstrap data (#308)
* add metadata handling for proxmox node name

* First draft: flatcar and ignition support

* Revert "add metadata handling for proxmox node name"

This reverts commit 3dd5aae409a70da006e35c7130ca9ecc39fe73f0.

* Make The Ignition ISO able to be unmounted

* Fixes lints

* Fixes Tests

* remove unsed config and Fixes Test

* Set ipv6

* add tests

* add tests for injector

* more test coverage

* Fix lint

* Provide a correct cluster template

* Provide docs on how to provision cluster with flatcar

* Address reviews

* Update envtest

* Address reviwes and try e2e test with skip label

* Implement networkd config units with VRFs

* Tidy

* E2e test for flatcar

* Use correct template for flatcar

* Add more tests

* Simpler units name

* add comment for netdev index

* Address reviews

* remove uncessary variable

* Add note about EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION

* Address reviews

* Change ignition docs

* Remove quotes

* pkg/ignition/network.go: fix VRF routing rules policy table, add tests

---------

Co-authored-by: tuunit <jan@larwig.com>
Co-authored-by: Felix Wischke (65278) <felix@zeynix.de>
2024-12-05 12:12:11 +01:00
Vic Kerr
a4c1bd4561 docs, test: k8s 1.30 (#321)
* test: bump k8s to 1.30.6

* docs/advanced-setups: bump k8s to 1.30.6

* go.mod: bump k8s.io/* to v0.30.6

* Update proxmox-ci.yaml

* Update proxmox-dev.yaml

* Update Makefile

---------

Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com>
2024-11-13 13:32:25 +01:00
Erwin Kok
7d9b12bce9 Adding Finalizer on Secret (#279)
* Bumped some versions as the controller-gen crashed

* Added ProxmoxClusterTemplate properly

* Proper alignment //+kubebuilder, and provide annotatons as specified by spec

* Added concurrency to controllers. Added constructors to controllers

* Added capiflags

* metrics-bind-address is obsolete. Use diagnostics address

* Add finalizer on secret

* Cleanup to minimize differences

* Processing review feedback

* Processing feedback

* Update

* Processing feedback

* Fixing tests

* Update

* Delete capi cluster first

* Processing review feedback

* Renamed test context

* Processing review feedback: solve linting issues

---------

Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com>
2024-10-09 18:14:54 +00:00
Mohamed Chiheb Ben Jemaa
bfa3e96ee0 Upgrade CAPI to v1.8.2 (#284) 2024-09-06 15:54:01 +02:00
Vic Kerr
626035669b release v0.5.0 2024-06-07 10:21:14 +00:00
Vic Kerr
201714dfa3 e2e: update to capi 1.7.2 2024-06-07 10:21:14 +00:00
Vic Kerr
8f210eec15 e2e: fix typo in calico.yml 2024-05-28 11:54:47 +00:00
Vic Kerr
d9cb90ce09 release v0.4.0 2024-04-19 14:33:20 +00:00
Mohamed Chiheb Ben Jemaa
623de23ef6 Reduce cpu/memory e2e test machines 2024-04-19 12:09:03 +00:00
Mohamed Chiheb Ben Jemaa
d0640dd29a Upgrade ipam to 0.1.0 and capi to 1.6.3 (#138)
* Upgrade ipam to 0.1.0 and capi to 1.6.3

* Update

* Fix circular dependency

* remove ipam deps from api pkg

* Update e2e tests

* Fix deps

* Rename Type

* Update godoc
2024-03-21 15:07:28 +01:00
Nicolò Ciraci
75883c7ab7 refactor: support user env variables for e2e tests (#146) 2024-03-19 17:27:26 +01:00
Vic Kerr
0236808a2c release v0.3.0 2024-02-20 15:31:54 +00:00
Vic Kerr
a31de6ca05 misc: update copyright dates for 2024 2024-02-20 15:31:54 +00:00
Mohamed Chiheb Ben Jemaa
199a89a0ff Add e2e tests (#48)
End-to-end tests.
Can run automatically in an environment from a github action.

---------

Co-authored-by: Vic Kerr <wiktor.kerr@ionos.com>
2024-01-30 12:05:25 +00:00
dependabot[bot]
0ea3ac1a8c Bump sigs.k8s.io/cluster-api from 1.5.0 to 1.6.1 (#18)
* Bump sigs.k8s.io/cluster-api from 1.5.0 to 1.6.0

Bumps [sigs.k8s.io/cluster-api](https://github.com/kubernetes-sigs/cluster-api) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/kubernetes-sigs/cluster-api/releases)
- [Commits](https://github.com/kubernetes-sigs/cluster-api/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/cluster-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adjust code to capi 1.6 and k8s 1.28

* Update to v1.6.1

* Fix link

* Rollback metrics bind address

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com>
2024-01-23 15:23:40 +00:00
Vic Kerr
45f5888c41 Initial open source release
Co-authored-by: Felix Wischke <felix.wischke@ionos.com>
Co-authored-by: Jonas Bender <90411737+jonas-be@users.noreply.github.com>
Co-authored-by: Ludwig Bedacht <132355999+lubedacht@users.noreply.github.com>
Co-authored-by: Mario Valderrama <15158349+avorima@users.noreply.github.com>
Co-authored-by: Mohamed Chiheb Ben jemaa <mohamed-chiheb.ben-jemaa@ionos.com>
Co-authored-by: Vic Kerr <318870+wikkyk@users.noreply.github.com>
2023-11-29 14:17:03 +00:00