Commit Graph

16 Commits

Author SHA1 Message Date
Andrea Mazzotti 1c21683f6a
Use DefaulterRemoveUnknownOrOmitableFields
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-09-05 15:07:36 +02:00
Parthvi Vala 9206024b77
Add defaulter to RKE2ConfigTemplate webhook; move ignored fields
deletion to webhook function

Co-authored-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-08-26 15:01:09 +05:30
Parthvi Vala bfaa2e0f11
Fix lint failures
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-08-21 18:59:26 +05:30
Parthvi Vala 40b7c21135
Add the correction to RCP and RCPTemplate
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-08-21 18:54:22 +05:30
Parthvi Vala 0d2c3754df
Add unit test
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-08-21 18:54:12 +05:30
Parthvi Vala beee8a6bfa
Move the cleanup code to webhook
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-08-21 18:54:05 +05:30
Andrea Mazzotti 065a235939
Improve webhooks logging
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-23 11:32:39 +02:00
abouts 1fa458e659
Gzip is not supported only for ignition format 2025-04-28 23:36:03 +02:00
Alexandr Demicev 5baa17c801
Fix all linter warnings
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-03-20 12:52:07 +01:00
Ashley Dumaine a075ace50f
use apierrors for bad request 2025-02-20 10:10:48 -05:00
Ashley Dumaine 5de4a66f9b
Add kubebuilder markers for default and validation structs to prevent generation of DeepCopy methods 2025-02-20 10:10:48 -05:00
Ashley Dumaine 4153ffbfb7
update how webhooks are registered 2025-02-20 10:10:47 -05:00
Ashley Dumaine 0e7c20d99d
bump controller-runtime to 0.20.1, update webhooks and tests 2025-02-20 10:10:47 -05:00
ekarlso b4cb04bead feat: Fix handling of registries config to work as rke2
fixes ##253

Signed-off-by: ekarlso <endre.karlson@gmail.com>
2024-01-26 15:24:31 +01:00
Danil Grigorev 7a4225eace
Add List conversion and update copyright
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-09 11:34:36 +01:00
Danil Grigorev dc7c307123
Rename v1alpha2 to v1beta1
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:18:49 +01:00