Commit Graph

70 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 2ece70ce14
Bump CAPI to 1.10.5
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-09-01 09:35:21 +02:00
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 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 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
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
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
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
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 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
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
Andrea Mazzotti baaec2c4a8
Deprecate RKE2ControlPlane.Spec.InfrastructureRef and .NodeDrainTimeout
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-01-10 14:15:52 +01:00
Carlos Salas ded588a2e9
feat: make aws credentials optional when s3 backup
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2025-01-10 12:01:34 +01:00
Furkat Gofurov 1d573ffce5
Bump kustomize to v5 version
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-01-08 13:23:16 +02:00
Danil-Grigorev 3949bc18c8
Bump controller-gen version to 0.16.1
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 12:59:40 +01:00
Furkat Gofurov 8219e8de82
Bump CAPI to v1.8.5
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-11-12 14:19:22 +02:00
Alexandr Demicev 79a1153126
Add PSA file to API
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-10-22 14:01:27 +02:00
Danil-Grigorev 51a4233c99
Make control plane endpoint default registration method
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-08-27 17:23:29 +02:00
Ashley Dumaine f2eca63fe5
add cis to the cis-profile enum
Signed-off-by: Ashley Dumaine <ashley.dumaine@gmail.com>
2024-08-26 10:04:22 -04:00
Ashley Dumaine 70ef7ad5b7 update manager configuration to be in line with CAPI for security context 2024-08-07 11:31:17 -04:00
Ashley Dumaine 47c04ae362 add securityContext to the manager containers 2024-07-31 15:04:56 -04:00
Alexandr Demicev 484765c7f8
Change organisation name in Makefile
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-07-10 13:23:55 +02:00
Danil-Grigorev 04e2a2b343
Fix regex to support more then one patch version number
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-06-25 17:46:03 +02:00
Furkat Gofurov 2838bb3cf9
Deprecate '--metrics-bind-addr' flag and introduce the new '--diagnostics-address' and '--insecure-diagnostic' flags.
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-06-03 17:30:05 +03:00
Danil-Grigorev 2545c38148
Allow empty version for RKE2 CP
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-05-30 13:18:23 +02:00
Danil Grigorev 3b188c99c6
Add airGappedChecksum field to check workload version before rollout
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-05-14 11:05:27 +02:00
Danil Grigorev 86025754c0
Remove kubebuilder defaults to make API GitOps friendly
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-05-02 11:35:27 +02:00
Danil Grigorev 91e7b0b910
Add AgentConfig version conversion in favor of a new field
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-05-02 11:33:50 +02:00
Alexandr Demicev ba34184fc8
Change description of version field in API
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-04-26 15:00:15 +02:00
Furkat Gofurov 957ccdd0c1
Bump CAPI to v1.7.0 minor release
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-04-19 13:50:31 +03:00
Richard Case 0f98d5f775
feat: added control plane endpoint registration method
This adds a new registration method that will use the **host** from the
control plane endpoint set on the **Cluster**.

Signed-off-by: Richard Case <richard.case@suse.com>
2024-03-18 11:41:34 +00:00
Carlos Salas 0b62188aaa
feat: add support for cluster class
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2024-02-23 18:12:52 +01: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 dc7c307123
Rename v1alpha2 to v1beta1
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:18:49 +01:00
Danil Grigorev c8762be772
Introduce v1alpha2 api version
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-01-08 13:03:26 +01:00
Richard Case f76dff43f3
chore: update to capi v1.6.0
This bumps CAPI to v1.6.0 along with associated depenendies. The
sample templates have also been updated for docker so they are
compatible with v1.6.0, specifically using a custom LB config.

Signed-off-by: Richard Case <richard.case@outlook.com>
2023-12-07 14:32:40 +00:00
Alexandr Demicev aff415beaa
Add maxsurge option for control plane upgrade
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2023-11-16 13:25:48 +01:00
Danil Grigorev 91b733692f
Add arbitrary data field
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2023-11-15 11:59:02 +01:00
Danil Grigorev db08f5556f
Implement metadata propagation on the workload cluster nodes
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2023-10-30 16:49:53 +01:00
Richard Case 6c07719274
feat: support different registration methods
This adds support for different ways to register new nodes into the
cluster.

Signed-off-by: Richard Case <richard.case@outlook.com>
2023-06-15 15:33:45 +01:00
Mohamed Belgaied Hassine 90e5619a1f
Implemented possibility to use Multus CNI, fixes #103 (#132)
improved some logging

fixed small issue related to the change in the way CNI field is handled

Fixing comments for validate func in webhook

Cleaning up multus RKE2-on-CAPD manifests

updated godoc comment on API field for rke2controlplane

Removed unnecessary comment in external AWS templates

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-05-16 15:32:54 +02:00
Mohamed Belgaied Hassine 6808c7580b
Fixing issue with disableComponents fields in RKE2ControlPlane, fixes #128 (#130)
Fix linting

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-05-09 12:15:48 +02:00