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
Parthvi Vala
00cb30927b
Add SystemDefaultRegistry to AgentConfig
...
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-09-05 15:15:33 +05:30
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
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
yiannistri
40ac4b9aea
feat: Add e2e test for external datastore
2025-07-22 14:17:06 +01: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
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
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
Józef Daniecki
1b7fd51418
Add configurability for ClusterCache concurrency
2025-06-30 03:14:00 -07:00
Andrea Mazzotti
67d490c49a
Improve private registry documentation
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-06-27 16:23:23 +02:00
Andrea Mazzotti
7ea788e440
Revert "Fix private registry token authentication"
...
This reverts commit c05d4525cd .
2025-06-27 16:14:23 +02:00
Andrea Mazzotti
c05d4525cd
Fix private registry token authentication
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-06-03 16:18:29 +02: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
fc3a4c1051
Prevent rollout before machineTemplate has been updated
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-14 13:30:44 +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
cf3c22ab65
Support rke2ControlPlane mhc remediation
2025-05-07 13:12:59 +02:00
Andrea Mazzotti
98ddb81596
Fix flaky test
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-05-01 10:57:00 +02: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
Alexandr Demicev
5baa17c801
Fix all linter warnings
...
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-03-20 12:52:07 +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
ef1a157fe8
MachinePool support
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-02-26 15:57:57 +01:00
Alexandr Demicev
cae8f950f2
Wait for annotations to appear in test
...
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-02-26 14:49:39 +01:00
Furkat Gofurov
481c11ece3
Fix linting issues in the codebase
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-02-21 13:48:48 +02:00
Dharmit Shah
3dc3103644
Filter machines being deleted from updatedReplicas count
...
UpToDateMachines method operates on `c.Machines` and removes the result
of `c.MachinesNeedingRollout()` from it. This result doesn't include
machines being deleted because MachinesNeedingRollout method removes
them in the beginning of the definition using:
```go
// Ignore machines to be deleted.
machines := c.Machines.Filter(collections.Not(collections.HasDeletionTimestamp))
```
Thus duplication of code to ensure machines being deleted aren't
calculated in updatedReplicas
2025-02-20 14:25:04 +05:30
Andrea Mazzotti
43e5639904
Propagate cloud provider config
...
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-02-05 14:08:14 +01:00
Furkat Gofurov
3a6b06e628
Fix linter errors
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-01-21 15:32:34 +02: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
Furkat Gofurov
54c9eec3c6
Fix setting folder S3 on etcd backups
...
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-01-10 14:16:08 +02: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
Alexandr Demicev
7268382f04
Add indentation to generated RKE2 config
...
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-01-10 10:59:40 +01:00
Danil-Grigorev
bf53fe2548
Update LB templates to use new structure
...
- Breakind change: https://github.com/kubernetes-sigs/cluster-api/pull/11430
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 13:02:12 +01:00
Danil-Grigorev
40fb968264
Migrate to cluster cache from deprecated remote.ClusterCacheTracker
...
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 12:59:40 +01:00
Danil-Grigorev
855102cc1e
Bump CAPI to 1.9.0
...
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 12:59:39 +01:00
Alexandr Demicev
9252d3a458
Pass component configuration as slice
2024-11-27 12:48:35 +01:00
Carlos Salas
b087c4c770
fix: remove deprecated grpc.WithBlock
...
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2024-11-11 16:55:36 +01:00
Furkat Gofurov
f1892ab55b
Merge pull request #452 from simplysoft/fix/rke2-server-config-cidrs
...
Pass multiple CIDRs to RKE2 server config
2024-10-24 12:28:39 +03: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
Furkat Gofurov
807aae7d1d
Merge pull request #450 from Danil-Grigorev/fix-agent-command
...
🐛 Prevent machine re-rollout on system agent start command
2024-10-08 14:14:37 +03:00
Danil-Grigorev
f669e0c74a
Allow to distingish legacy CP without etcd management via annotation
...
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-10-04 09:05:43 +02:00
Simplysoft GmbH
7fd28be3f7
Pass multiple CIDRs to RKE2 server config
...
Issue: #337
2024-10-03 21:58:50 +02:00