Skip to content

Commit d12b0cd

Browse files
Merge pull request #2348 from Nordix/peppi-lotta/use-IPAM-provider-in-e2e
🐛 Add use of IPAMprovider to e2e tests
2 parents 3c22b43 + 14a2f8b commit d12b0cd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/e2e/e2e_suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ func InitBootstrapCluster(bootstrapClusterProxy framework.ClusterProxy, config *
227227
ClusterProxy: bootstrapClusterProxy,
228228
ClusterctlConfigPath: clusterctlConfig,
229229
InfrastructureProviders: config.InfrastructureProviders(),
230+
IPAMProviders: config.IPAMProviders(),
230231
LogFolder: filepath.Join(artifactFolder, "clusters", bootstrapClusterProxy.GetName()),
231232
}, config.GetIntervals(bootstrapClusterProxy.GetName(), "wait-controllers")...)
232233
}

test/e2e/pivoting.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const (
3636
restartContainerCertUpdate = "RESTART_CONTAINER_CERTIFICATE_UPDATED"
3737
ironicNamespace = "IRONIC_NAMESPACE"
3838
clusterLogCollectionBasePath = "/tmp/target_cluster_logs"
39+
Metal3ipamProviderName = "metal3ipam"
3940
)
4041

4142
type PivotingInput struct {
@@ -140,6 +141,7 @@ func pivoting(ctx context.Context, inputGetter func() PivotingInput) {
140141
BootstrapProviders: []string{config.KubeadmBootstrapProviderName + ":" + os.Getenv("CAPIRELEASE")},
141142
ControlPlaneProviders: []string{config.KubeadmControlPlaneProviderName + ":" + os.Getenv("CAPIRELEASE")},
142143
InfrastructureProviders: []string{config.Metal3ProviderName + ":" + os.Getenv("CAPM3RELEASE")},
144+
IPAMProviders: []string{Metal3ipamProviderName + ":" + os.Getenv("IPAMRELEASE")},
143145
LogFolder: filepath.Join(input.ArtifactFolder, "clusters", input.ClusterName+"-pivoting"),
144146
})
145147

0 commit comments

Comments
 (0)