Commit Graph

41 Commits

Author SHA1 Message Date
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
Furkat Gofurov cb9e9816cc
Cleanup 'docker-previous-version' template and add `gzipUserData` field in templates
New version of CAPRKE2 (v0.19.0) is out, hence we can now remove previous version
template introduced in https://github.com/rancher/cluster-api-provider-rke2/pull/649
to workaround e2e complications.

Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-08-26 11:22:23 +03: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
yiannistri 40ac4b9aea
feat: Add e2e test for external datastore 2025-07-22 14:17:06 +01:00
Parthvi Vala b4c331826c
Add e2e and doc
Signed-off-by: Parthvi Vala <parthvi.vala@suse.com>
2025-07-21 17:40:44 +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 099492ea1b
Use docker-previous-version template in upgrade tests until new version of CAPRKE2 is out
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-07-02 18:13:05 +03:00
Furkat Gofurov 5e832b9c59
Update examples and e2e test templates with new `gzipUserData` boolean field
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2025-07-02 14:43:39 +03:00
Andrea Mazzotti 2e9c3b9596
Add move/pivot e2e test
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-06-25 14:16:11 +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 9de452cf26
Rename infrastructure template for remediation test 2025-05-07 14:54:43 +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
Alexander Demicev 11415e0ca9
Merge pull request #599 from furkatgofurov7/add-nodeDeletionTimeout
⚠️ In-place propagation support for RKE2ControlPlane
2025-04-22 09:55:10 +00: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
Andrea Mazzotti c741d7beb7
Add more nuances to e2e test configuration
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2025-04-15 16:53:11 +02:00
Dharmit Shah ca91a19cd2
e2e test to check labels on Machines created by RKE2ControlPlane 2025-04-02 21:35:43 +05:30
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
Alexandr Demicev 24c1f57ad7
Standartize env variable in all documentation
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2025-01-08 16:11:15 +01:00
Danil-Grigorev 7eeeb55141
Exclude components blocking draining
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 13:02:14 +01:00
Danil-Grigorev 703c8526c7
Exclude machines from node volume detach after completion
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 13:02:14 +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 e05a5e7ca2
Update e2e-config.yaml
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-20 12:59:40 +01:00
Danil-Grigorev bb2410b647
Use 200 as an expected response from kube-api in haproxy
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-12-19 17:53:19 +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
Danil-Grigorev 679d205149
Implement etcd member management in pre-terminate hook
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-09-16 11:02:51 +02:00
Carlos Salas cd6644bb1f
test: add clusterclass scenario to e2e
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
2024-09-03 11:56:56 +02:00
Danil-Grigorev 137e293141
Update e2e tests to utilize default
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
2024-08-28 08:55:45 +02:00
Furkat Gofurov bc00f06ef2
Remove legacy tests and related code
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-08-12 20:16:22 +03: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
Alexandr Demicev 5d61aceaa7
Use spec.Version field as primarily source
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2024-04-26 15:00:24 +02:00
Danil Grigorev 5289859fab
Exclude kube-vip
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 17:52:54 +02:00
Danil Grigorev 8ef8e2097d
Fix machine discovery in test suite
- Disc pressure fix for kube-vip

Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 16:00:17 +02:00
Danil Grigorev c4b63e27e4
Use kube-vip for e2e tests
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-12 13:21:18 +02:00
Danil Grigorev a7b3b2fc7e
Add test case for cluster upgrade and scale down to zero for old clusters
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2024-04-10 10:37:42 +02:00
Furkat Gofurov b4cab6bf77
Bump CAPI in e2e tests
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-03-19 17:22:19 +02:00
Furkat Gofurov 1305c0ed50
Fix e2e tests
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
2024-02-13 09:50:38 +02:00
Richard Case 3e0fd7200c
fix: bump versions and change template for e2e
Signed-off-by: Richard Case <richard.case@outlook.com>
2023-11-17 14:22:28 +01:00
Alexandr Demicev 055e268a1d
Add e2e test for upgrade
Signed-off-by: Alexandr Demicev <alexandr.demicev@suse.com>
2023-11-16 13:25:48 +01:00
Danil Grigorev 021c1488c9
Add e2e covering metadata propagation to CP nodes
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
2023-10-30 16:49:54 +01:00
Richard Case 926bea3ce2
feat: initial e2e tests
This adds initial e2e tests for the RKE2 providers. There are still lots
more e2e tests that need to be added.

Signed-off-by: Richard Case <richard.case@outlook.com>
2023-03-27 15:09:15 +01:00