fix: [WIN-NPM] change .exe name and set PATH for containerd issue (#1838)
This commit is contained in:
Родитель
2e211ef05e
Коммит
70aafa54c1
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче