From 318ab1cb4014a070c3139f37c2609126e1a97023 Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Sat, 7 Dec 2024 00:18:54 +0000 Subject: [PATCH] remove pwsh from cmd Signed-off-by: Evan Baker --- cns/azure-cns-windows.yaml | 5 ++--- test/integration/manifests/cns/daemonset-windows.yaml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cns/azure-cns-windows.yaml b/cns/azure-cns-windows.yaml index 3ea5e39f119..24d24c5932a 100644 --- a/cns/azure-cns-windows.yaml +++ b/cns/azure-cns-windows.yaml @@ -35,10 +35,9 @@ spec: imagePullPolicy: IfNotPresent securityContext: privileged: true - command: ["powershell.exe"] + command: "azure-cns.exe" args: - [ - 'powershell.exe', '.\azure-cns.exe', + [ '-c', "tcp://$(CNSIpAddress):$(CNSPort)", '-t', "$(CNSLogTarget)", '-o', "$(CNSLogDir)", diff --git a/test/integration/manifests/cns/daemonset-windows.yaml b/test/integration/manifests/cns/daemonset-windows.yaml index 43b9bc857ff..96b8dc9c408 100644 --- a/test/integration/manifests/cns/daemonset-windows.yaml +++ b/test/integration/manifests/cns/daemonset-windows.yaml @@ -49,10 +49,9 @@ spec: securityContext: privileged: true workingDir: $env:CONTAINER_SANDBOX_MOUNT_POINT - command: ["powershell.exe"] + command: ["azure-cns.exe"] args: [ - '.\azure-cns.exe', "-c", "tcp://$(CNSIpAddress):$(CNSPort)", "-t", @@ -107,7 +106,7 @@ spec: image: acnpublic.azurecr.io/cni-dropgz:latest imagePullPolicy: Always command: - - powershell.exe; $env:CONTAINER_SANDBOX_MOUNT_POINT/dropgz + - $env:CONTAINER_SANDBOX_MOUNT_POINT/dropgz args: - deploy - azure-vnet