21 Commits

Author SHA1 Message Date
Vic Kerr
92ac7a597d update copyright 2025-03-13 16:52:28 +01:00
Mohamed Chiheb Ben Jemaa
7afed1ba3c 🌱 Refactoring: move NetworkConfigData out of cloudinit pkg (#378)
* Refactorring: move NetworkConfigData out of cloudinit pkg

* Copyright year

---------

Co-authored-by: Vic Kerr <wiktor.kerr@ionos.com>
2025-01-20 15:15:26 +00:00
Nicolai Rybnikar
cab54fed4f Add kubernetes-version to metadata 2025-01-16 12:01:53 +00:00
Vic Kerr
690c13ee05 update copyright 2024-12-05 13:45:51 +01:00
Mohamed Chiheb Ben Jemaa
3f6355d0fd Add Option to control the injection of provider-id to metadata (#347)
* Add Option to control the injection of provider-id to metadata

* typo and more comment in the field
2024-12-05 12:52:24 +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
Endre Karlson
3644c4671c cloud-init: Add provider-id to metadata (#292)
Some operating system(s) like Talos use provider-id for their
cloud-provider implementation in the format of <provider>://<id>
to be picked up by the cloud-init impl. Having it available is pretty standard.

Signed-off-by: ekarlso <endre.karlson@gmail.com>
Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com>
2024-10-09 17:38:15 +00:00
Felix Wischke (65278)
f34e4dac0c add metric annotation support to IPPool objects 2024-06-06 14:57:46 +00:00
Felix Wischke (65278)
76f1061343 cloudinit/network_test: test cases for newly added interface config 2024-04-16 14:25:20 +00:00
Felix Wischke (65278)
9cb60ac7ec unify FIB spelling 2024-04-16 14:25:20 +00:00
Felix Wischke (65278)
c575eaa0a5 api/v1alpha1/proxmoxmachine_types: netplan lied about common interface settings 2024-04-16 14:25:20 +00:00
Felix Wischke (65278)
e00c558ad7 api/v1alpha1/proxmoxmachine_types: introduce per linkMTU 2024-04-16 14:25:20 +00:00
Felix Wischke (65278)
14d30499b3 api/v1alpha/proxmoxmachine_types: refactor networking to share features 2024-04-16 14:25:20 +00:00
Felix Wischke (65278)
fac5f9c7cd cloudinit: fix multiple vrf device templating 2024-04-03 10:42:09 +02:00
Nicolò Ciraci
a745a6a242 feat(gateway-optional): This commit makes gw definition optional for additionalNetworkDevices (#130)
* feat(gateway-optional): This commit makes gw definition optional for additionalNetworkDevices

There is no need to have a mandatory gateway for secondary network interfaces, this commit edits the validation and go template that is in charge of generating the cloudinit files.

* fix(tests): Fix regression in test

* test: Add testing for noGW feature

---------

Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com>
2024-03-14 16:26:26 +00:00
Vic Kerr
a31de6ca05 misc: update copyright dates for 2024 2024-02-20 15:31:54 +00:00
Felix Wischke
de5099dfe1 Add VRF device to support egress gateways (#62)
* Add VRF device support

* cluster-template-cilium-load-balancer: metallb based loadbalancer nodes

* LoadBalancerNodes: Documentation

* load-balancer-nodes: taint and toleration for metallb

* cluster-template-cilium-load-balancer: force ipvs/strictARP for metallb
2024-02-13 13:53:32 +01:00
Lucas Pape
830e3867e0 fix(cloudinit): wrap gateway6 in quotation marks (#79) 2024-01-24 11:47:38 +01:00
Mohamed Chiheb Ben Jemaa
5e2c0b65cd Adjust cloudinit to support dhcp (#44)
* Adjust cloudinit to support dhcp

* simpler

* Remove duplicated test
2023-12-20 14:53:14 +01:00
Philipp Born
5f6d700a2d fix cloud-init default routes (#34) 2023-12-15 20:27:08 +01: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