Skip to content

Commit

Permalink
Copy azure-vnet-telemetry and azure-vnet-ipam in test setup (#1778)
Browse files Browse the repository at this point in the history
copy binaries in setup
  • Loading branch information
camrynl authored Feb 1, 2023
1 parent e8d91c9 commit 9dc0354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func installCNSDaemonset(ctx context.Context, clientset *kubernetes.Clientset, l
if installBool1 := os.Getenv(envInstallAzureVnet); installBool1 != "" {
if azureVnetScenario, err := strconv.ParseBool(installBool1); err == nil && azureVnetScenario == true {
log.Printf("Env %v set to true, deploy azure-vnet", envInstallAzureVnet)
cns.Spec.Template.Spec.InitContainers[0].Args = []string{"deploy", "azure-vnet", "-o", "/opt/cni/bin/azure-vnet", "azure-swift.conflist", "-o", "/etc/cni/net.d/10-azure.conflist"}
cns.Spec.Template.Spec.InitContainers[0].Args = []string{"deploy", "azure-vnet", "-o", "/opt/cni/bin/azure-vnet", "azure-vnet-telemetry", "-o", "/opt/cni/bin/azure-vnet-telemetry", "azure-vnet-ipam", "-o", "/opt/cni/bin/azure-vnet-ipam", "azure-swift.conflist", "-o", "/etc/cni/net.d/10-azure.conflist"}
}
// setup the CNS swiftconfigmap
if err := mustSetupConfigMap(ctx, clientset, cnsSwiftConfigMapPath); err != nil {
Expand Down

0 comments on commit 9dc0354

Please sign in to comment.