@@ -27,6 +27,7 @@ import (
27
27
. "github.com/onsi/ginkgo"
28
28
. "github.com/onsi/gomega"
29
29
"github.com/pkg/errors"
30
+ appsv1 "k8s.io/api/apps/v1"
30
31
corev1 "k8s.io/api/core/v1"
31
32
apierrors "k8s.io/apimachinery/pkg/api/errors"
32
33
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -148,6 +149,20 @@ func clusterUpgradeWithRuntimeSDKSpec(ctx context.Context, inputGetter func() cl
148
149
responsesConfigMap (clusterName , namespace ))).
149
150
To (Succeed (), "Failed to create the responses configMap" )
150
151
152
+ By ("Wait for test extension deployment to be availabel" )
153
+ framework .WaitForDeploymentsAvailable (ctx , framework.WaitForDeploymentsAvailableInput {
154
+ Getter : input .BootstrapClusterProxy .GetClient (),
155
+ Deployment : & appsv1.Deployment {ObjectMeta : metav1.ObjectMeta {Name : "test-extension" , Namespace : namespace .Name }},
156
+ })
157
+
158
+ By ("Watch Deployment logs of test extension" )
159
+ framework .WatchDeploymentLogs (ctx , framework.WatchDeploymentLogsInput {
160
+ GetLister : input .BootstrapClusterProxy .GetClient (),
161
+ ClientSet : input .BootstrapClusterProxy .GetClientSet (),
162
+ Deployment : & appsv1.Deployment {ObjectMeta : metav1.ObjectMeta {Name : "test-extension" , Namespace : namespace .Name }},
163
+ LogPath : filepath .Join (input .ArtifactFolder , "clusters" , input .BootstrapClusterProxy .GetName (), "logs" , namespace .Name ),
164
+ })
165
+
151
166
By ("Creating a workload cluster" )
152
167
153
168
clusterctl .ApplyClusterTemplateAndWait (ctx , clusterctl.ApplyClusterTemplateAndWaitInput {
0 commit comments