@@ -207,17 +207,21 @@ func DumpMachine(ctx context.Context, e2eCtx *E2EContext, machine infrav1.AWSMac
207
207
208
208
func DumpSpecResources (ctx context.Context , e2eCtx * E2EContext , namespace * corev1.Namespace ) {
209
209
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" ),
213
215
})
214
216
}
215
217
216
218
func DumpSpecResourcesFromProxy (ctx context.Context , e2eCtx * E2EContext , namespace * corev1.Namespace , proxy framework.ClusterProxy ) {
217
219
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" ),
221
225
})
222
226
}
223
227
0 commit comments