Skip to content

Commit 1519eac

Browse files
committed
fix
Signed-off-by: Tamal Saha <[email protected]>
1 parent a68bfc3 commit 1519eac

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

test/e2e/data/e2e_conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ variables:
218218
EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
219219
GC_WORKLOAD: "../../data/gcworkload.yaml"
220220
CLASSICELB_TEST_KUBERNETES_VERSION_FROM: "v1.29.9"
221-
CLASSICELB_TEST_KUBERNETES_VERSION_TO: "v1.31.0"
221+
CLASSICELB_TEST_KUBERNETES_VERSION_TO: "v1.30.8"
222222

223223
intervals:
224224
default/wait-cluster: ["35m", "10s"]

test/e2e/shared/common.go

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,21 @@ func DumpMachine(ctx context.Context, e2eCtx *E2EContext, machine infrav1.AWSMac
207207

208208
func DumpSpecResources(ctx context.Context, e2eCtx *E2EContext, namespace *corev1.Namespace) {
209209
framework.DumpAllResources(ctx, framework.DumpAllResourcesInput{
210-
Lister: e2eCtx.Environment.BootstrapClusterProxy.GetClient(),
211-
Namespace: namespace.Name,
212-
LogPath: filepath.Join(e2eCtx.Settings.ArtifactFolder, "clusters", e2eCtx.Environment.BootstrapClusterProxy.GetName(), "resources"),
210+
KubeConfigPath: e2eCtx.Environment.BootstrapClusterProxy.GetKubeconfigPath(),
211+
ClusterctlConfigPath: e2eCtx.Environment.ClusterctlConfigPath,
212+
Lister: e2eCtx.Environment.BootstrapClusterProxy.GetClient(),
213+
Namespace: namespace.Name,
214+
LogPath: filepath.Join(e2eCtx.Settings.ArtifactFolder, "clusters", e2eCtx.Environment.BootstrapClusterProxy.GetName(), "resources"),
213215
})
214216
}
215217

216218
func DumpSpecResourcesFromProxy(ctx context.Context, e2eCtx *E2EContext, namespace *corev1.Namespace, proxy framework.ClusterProxy) {
217219
framework.DumpAllResources(ctx, framework.DumpAllResourcesInput{
218-
Lister: proxy.GetClient(),
219-
Namespace: namespace.Name,
220-
LogPath: filepath.Join(e2eCtx.Settings.ArtifactFolder, "clusters", proxy.GetName(), "resources"),
220+
KubeConfigPath: proxy.GetKubeconfigPath(),
221+
ClusterctlConfigPath: e2eCtx.Environment.ClusterctlConfigPath,
222+
Lister: proxy.GetClient(),
223+
Namespace: namespace.Name,
224+
LogPath: filepath.Join(e2eCtx.Settings.ArtifactFolder, "clusters", proxy.GetName(), "resources"),
221225
})
222226
}
223227

0 commit comments

Comments
 (0)