File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -419,8 +419,10 @@ function DownloadAndInstall-CSIProxyBinaries {
419
419
420
420
# TODO(jingxu97): Make csi-proxy.exe as a service similar to kubelet.exe
421
421
function Start-CSIProxy {
422
- Log- Output ' Starting CSI Proxy'
423
- Start-Process " ${env: NODE_DIR} \csi-proxy.exe"
422
+ if (Test-IsTestCluster $kube_env ) {
423
+ Log- Output ' Starting CSI Proxy'
424
+ Start-Process " ${env: NODE_DIR} \csi-proxy.exe"
425
+ }
424
426
}
425
427
426
428
# TODO(pjh): this is copied from
@@ -929,7 +931,6 @@ function Configure-GcePdTools {
929
931
' $modulePath = "K8S_DIR\GetGcePdName.dll"
930
932
Unblock-File $modulePath
931
933
Import-Module -Name $modulePath' .replace(' K8S_DIR' , ${env: K8S_DIR} )
932
-
933
934
if (Test-IsTestCluster $kube_env ) {
934
935
if (ShouldWrite- File ${env: K8S_DIR} \diskutil.exe ) {
935
936
# The source code of this executable file is https://github.com/kubernetes-sigs/sig-windows-tools/blob/master/cmd/diskutil/diskutil.c
You can’t perform that action at this time.
0 commit comments