Commit Graph

165 Commits

Author SHA1 Message Date
Dinar Valeev f0af48b2af
RKE2ControlPlane: v1beta1 support EncryptionConfig
This commit adds RKE2ControlPlane.spec.serverConfig.secretsEncryption property.

This allows to specify provider type (aescbc or secretbox) and load encryption key
from a secret.

Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2025-10-23 13:27:10 +02:00
Andrea Mazzotti 1c21683f6a
Use DefaulterRemoveUnknownOrOmitableFields
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-09-05 15:07:36 +02:00
Andrea Mazzotti 2ece70ce14
Bump CAPI to 1.10.5
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-09-01 09:35:21 +02:00
Andrea Mazzotti b5d5f5ed5a
Fix conditions formatting
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-08-28 13:48:40 +02:00
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 fe8268a602
Merge pull request #698 from valaparthvi/config-map-file-source
Add ConfigMap support as FileSource
2025-07-29 09:36:49 +00:00
Parthvi Vala 47ce699f6d
Fix test failure
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-07-23 16:15:07 +05:30
Parthvi Vala 0abbd4ad0e
Change Secret and Config FileSourceRef to pointer
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-07-23 12:27:13 +05:30
yiannistri 40ac4b9aea
feat: Add e2e test for external datastore 2025-07-22 14:17:06 +01:00
Andrea Mazzotti 80eb2ec2a4
Forbid 0 RKE2ControlPlane replicas
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-07-18 09:28:26 +02:00
Yiannis Triantafyllopoulos f40d0a6480
Merge pull request #695 from yiannistri/680-external-datastore
🌱  Add support for external datastore
2025-07-17 09:40:54 +00:00
yiannistri f5fe093dbb
feat: Add support for external datastore 2025-07-16 11:50:07 +01:00
Parthvi Vala d5d4478aa9
Change SecretFileSource and ConfigMapFileSource to single FileSourceRef
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-07-16 11:59:28 +05:30
Andrea Mazzotti d5cdbcd674
Implement control plane load balancer exclusion
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-07-15 08:37:36 +02:00
Furkat Gofurov af141da642
Merge pull request #694 from apoorvajagtap/feature-gate
Configures usage of feature-gate & manager flags
2025-07-14 18:13:54 +00:00
Apoorva Jagtap 3cde10826e
configure feature-gate & flags 2025-07-14 22:58:10 +05:30
Parthvi Vala b7f3811142
Add ConfigMap support as FileSource 2025-07-11 22:27:52 +05:30
Alexander Demicev 5ae52a5795
Merge pull request #684 from anmazzotti/etcd_removal
Rely on RKE2 managed etcd for member removal
2025-07-10 09:25:55 +00:00
Andrea Mazzotti f745c234bd
Rely on RKE2 managed etcd for member removal
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-07-08 11:39:36 +02:00
Furkat Gofurov 25d066d971
Add a new `gzipUserData` boolean API field in `RKE2ConfigSpec`
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-07-02 14:41:43 +03:00
Józef Daniecki 1b7fd51418
Add configurability for ClusterCache concurrency 2025-06-30 03:14:00 -07:00
Alexandr Demicev 01883c638a
Increase amount of concurrent reconciliations
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-06-27 14:43:22 +02:00
Furkat Gofurov 2878e14307
Backfill missing RKE2ControlPlane fields from legacy format in reconciliation loop
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-05-28 15:07:04 +03:00
Carlos Salas 0abf292041
chore: align code structure to latest linter spec
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2025-05-27 10:32:40 +02:00
Andrea Mazzotti 30551855fa
Merge pull request #664 from anmazzotti/add_webhook_logs
Improve webhooks logging
2025-05-26 13:09:34 +00:00
Andrea Mazzotti 065a235939
Improve webhooks logging
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-23 11:32:39 +02:00
Andrea Mazzotti 1becf8bdf9
Cleanup workloadCluster usage
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-23 09:14:43 +02:00
Andrea Mazzotti 243803e91f
Add debug log trail to Machine rollout
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-14 10:17:33 +02:00
Andrea Mazzotti 1af8ce692c
Reconcile external external owner reference
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-12 11:55:11 +02:00
Andrea Mazzotti b36540c9df
Test kubeconfig cert rotation
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-08 11:39:34 +02:00
Max Fedotov 3b01b1adc6
Rename all KCP mentions to RKE2ControlPlane. Fix conversion tests. Move cluster-template-rcp-remediation to a separate InfrastructureProvider config 2025-05-07 13:12:59 +02:00
Max Fedotov cf3c22ab65
Support rke2ControlPlane mhc remediation 2025-05-07 13:12:59 +02:00
Alexandr Demicev ae404ceb18
Default RKE2 control plane replicas to 1 if not specified
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-05-02 16:09:14 +02:00
Furkat Gofurov 839c75f722
Fix nil point dereference in `updateStatus` method
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-04-30 18:37:38 +03:00
Furkat Gofurov 2479d29ffc
Merge pull request #624 from andybavier/concurrency
Enable concurrency in controllers
2025-04-23 09:13:12 +00:00
Andy Bavier ee0a8295b2
Enable concurrency in controllers 2025-04-22 08:08:53 -07:00
Furkat Gofurov 84b433eed1
Fix lint warnings
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-04-18 22:54:36 +03:00
Furkat Gofurov a540ed8d60
Add in-place propagation e2e tests
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
Co-authored-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-04-18 22:48:41 +03:00
Furkat Gofurov 149e533a93
In-place propagation support for RKE2ControlPlane
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-04-18 19:50:31 +03:00
Furkat Gofurov 3070166c64
Expose `NodeVolumeDetachTimeout` and `NodeDeletionTimeout` through RKE2ControlPlaneMachineTemplate
Also add webhook logic to allow updates to the new fields

Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-04-18 18:04:39 +03:00
Andrea Mazzotti 3ad0b591ae
Bump golangci-lint to v2
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-04-08 09:06:01 +02:00
Dharmit Shah fd4c162ca2
Loop to add RCP labels to machines 2025-04-02 21:35:24 +05:30
Alexander Demicev d6992a93ef
Merge pull request #595 from rancher/dependabot/go_modules/golang.org/x/net-0.36.0
chore(deps): Bump golang.org/x/net from 0.33.0 to 0.36.0
2025-03-21 11:08:51 +00: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
Max Fedotov e55f9175bb
fix linting 2025-03-12 17:39:08 +01:00
Max Fedotov c27092cd0a
Add additional DisabledPluginComponent 2025-03-12 17:18:57 +01:00
Danil-Grigorev 3e0820074e
Clarify RKE2CP Ready field meaning in status
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2025-03-12 11:17:53 +01:00
Alexandr Demicev 78a475b78a
Add embedded registry option to server config
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-02-28 15:07:05 +01:00
Ashley Dumaine a075ace50f
use apierrors for bad request 2025-02-20 10:10:48 -05:00