From 70aafa54c103b48318b56e1c2a3fdeca3d9a47f7 Mon Sep 17 00:00:00 2001 From: Hunter Gregory <42728408+huntergregory@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:59:12 -0800 Subject: [PATCH] fix: [WIN-NPM] change .exe name and set PATH for containerd issue (#1838) --- npm/examples/windows/azure-npm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/npm/examples/windows/azure-npm.yaml b/npm/examples/windows/azure-npm.yaml index 58bda8a60..f2ce920dd 100644 --- a/npm/examples/windows/azure-npm.yaml +++ b/npm/examples/windows/azure-npm.yaml @@ -90,7 +90,7 @@ spec: '.\setkubeconfigpath.ps1', ";", "powershell.exe", - '.\npm.exe', + '.\azure-npm.exe', "start", '--kubeconfig=.\kubeconfig', ] @@ -108,6 +108,8 @@ spec: fieldPath: spec.nodeName - name: NPM_CONFIG value: .\\etc\\azure-npm\\azure-npm.json + - name: PATH + value: '%CONTAINER_SANDBOX_MOUNT_POINT%\Windows\System32\WindowsPowershell\v1.0\' volumeMounts: - name: azure-npm-config mountPath: .\\etc\\azure-npm