[e2e] Add waiting for deployment and watching logs for bootstrapper and control plane deployments
@@ -80,6 +80,10 @@ func TestE2e(t *testing.T) {
const (
capiNamespace = "capi-system"
capiDeploymentName = "capi-controller-manager"
+ cabpkNamespace = "capi-kubeadm-bootstrap-system"
+ cabpkDeploymentName = "capi-kubeadm-bootstrap-controller-manager"
+ kcpNamespace = "capi-kubeadm-control-plane-system"
+ kcpDeploymentName = "capi-kubeadm-control-plane-controller-manager"
capaNamespace = "capa-system"
capaDeploymentName = "capa-controller-manager"
setupTimeout = 10 * 60
@@ -171,6 +175,14 @@ var _ = BeforeSuite(func() {
common.WaitDeployment(kindClient, capiNamespace, capiDeploymentName)
watchLogs(capiNamespace, capiDeploymentName, logPath)
+ // Verify cabpk components are deployed
+ common.WaitDeployment(kindClient, cabpkNamespace, cabpkDeploymentName)
+ watchLogs(cabpkNamespace, cabpkDeploymentName, logPath)
+
+ // Verify kcp components are deployed
+ common.WaitDeployment(kindClient, kcpNamespace, kcpDeploymentName)
+ watchLogs(kcpNamespace, kcpDeploymentName, logPath)
+
// Verify capa components are deployed
common.WaitDeployment(kindClient, capaNamespace, capaDeploymentName)
watchLogs(capaNamespace, capaDeploymentName, logPath)
