Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix: don't hardcode csi enableproxy in kubeclusterconfig.json (#3127)
Browse files Browse the repository at this point in the history
fix has been manually validated and we want to include this in v0.50.0
  • Loading branch information
marosset authored and jackfrancis committed Apr 23, 2020
1 parent ac0034f commit 557de70
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions parts/k8s/kuberneteswindowsfunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function Write-KubeClusterConfig {
$Global:ClusterConfiguration = [PSCustomObject]@{ }

$Global:ClusterConfiguration | Add-Member -MemberType NoteProperty -Name Cri -Value @{
Name = $global:ContainerRuntime;
Name = $global:ContainerRuntime;
}

$Global:ClusterConfiguration | Add-Member -MemberType NoteProperty -Name Cni -Value @{
Expand All @@ -240,24 +240,24 @@ function Write-KubeClusterConfig {
}

$Global:ClusterConfiguration | Add-Member -MemberType NoteProperty -Name Csi -Value @{
EnableProxy = "true"
EnableProxy = $global:EnableCsiProxy
}

$Global:ClusterConfiguration | Add-Member -MemberType NoteProperty -Name Kubernetes -Value @{
Source = @{
Release = $global:KubeBinariesVersion;
};
ControlPlane = @{
IpAddress = $MasterIP;
Username = "azureuser"
IpAddress = $MasterIP;
Username = "azureuser"
MasterSubnet = $global:MasterSubnet
};
Network = @{
Network = @{
ServiceCidr = $global:KubeServiceCIDR;
ClusterCidr = $global:KubeClusterCIDR;
DnsIp = $KubeDnsServiceIp
DnsIp = $KubeDnsServiceIp
};
Kubelet = @{
Kubelet = @{
NodeLabels = $global:KubeletNodeLabels;
ConfigArgs = $global:KubeletConfigArgs
};
Expand Down
14 changes: 7 additions & 7 deletions pkg/engine/templates_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 557de70

Please sign in to comment.