Skip to content

Commit

Permalink
Fix AzureDisk Helm values to work with Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
CecileRobertMichon committed Nov 30, 2022
1 parent 9e97aea commit 6be5b99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/cloud-provider-azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ func InstallCalicoAndCloudProviderAzureHelmChart(ctx context.Context, input clus
func InstallAzureDiskCSIDriverHelmChart(ctx context.Context, input clusterctl.ApplyClusterTemplateAndWaitInput) {
specName := "azuredisk-csi-drivers-install"
By("Installing the correct version of azure-disk CSI driver components via helm")
InstallHelmChart(ctx, input, defaultNamespace, azureDiskCSIDriverHelmRepoURL, azureDiskCSIDriverChartName, azureDiskCSIDriverHelmReleaseName, nil)
options := &helmVals.Options{
Values: []string{"windows.useHostProcessContainers=true", "controller.replicas=1", "controller.runOnControlPlane=true"},
}
InstallHelmChart(ctx, input, kubesystem, azureDiskCSIDriverHelmRepoURL, azureDiskCSIDriverChartName, azureDiskCSIDriverHelmReleaseName, options)
clusterProxy := input.ClusterProxy.GetWorkloadCluster(ctx, input.ConfigCluster.Namespace, input.ConfigCluster.ClusterName)
By("Waiting for Ready csi-azuredisk-controller deployment pods")
for _, d := range []string{"csi-azuredisk-controller"} {
Expand Down

0 comments on commit 6be5b99

Please sign in to comment.