Skip to content

Commit

Permalink
Merge pull request #700 from Nordix/fix/clusterctl-config
Browse files Browse the repository at this point in the history
🐛 Fix clusterctl config file path
  • Loading branch information
metal3-io-bot authored Aug 31, 2022
2 parents 24ac1a4 + 1ae071c commit 0f32822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/e2e/config/e2e_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ variables:
# Default vars for the template, those values could be overridden by the env-vars.
CAPI_VERSION: "v1beta1"
CAPM3_VERSION: "v1beta1"
CONFIG_FILE_PATH: "${HOME}/.cluster-api/clusterctl.yaml"
SERVICE_CIDR: "10.96.0.0/12"
POD_CIDR: "192.168.0.0/18"
PROVISIONING_CIDR: "24"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/pivoting_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func pivoting() {
By("Initialize Provider component in target cluster")
clusterctl.Init(ctx, clusterctl.InitInput{
KubeconfigPath: targetCluster.GetKubeconfigPath(),
ClusterctlConfigPath: os.Getenv("CONFIG_FILE_PATH"),
ClusterctlConfigPath: e2eConfig.GetVariable("CONFIG_FILE_PATH"),
CoreProvider: config.ClusterAPIProviderName + ":" + os.Getenv("CAPIRELEASE"),
BootstrapProviders: []string{config.KubeadmBootstrapProviderName + ":" + os.Getenv("CAPIRELEASE")},
ControlPlaneProviders: []string{config.KubeadmControlPlaneProviderName + ":" + os.Getenv("CAPIRELEASE")},
Expand Down

0 comments on commit 0f32822

Please sign in to comment.