Skip to content

Commit 7b6c057

Browse files
committed
remove pwsh from cmd
Signed-off-by: Evan Baker <[email protected]>
1 parent 6b8c7cb commit 7b6c057

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

cns/azure-cns-windows.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ spec:
3535
imagePullPolicy: IfNotPresent
3636
securityContext:
3737
privileged: true
38-
command: ["powershell.exe"]
38+
command: "azure-cns.exe"
3939
args:
40-
[
41-
'powershell.exe', '.\azure-cns.exe',
40+
[
4241
'-c', "tcp://$(CNSIpAddress):$(CNSPort)",
4342
'-t', "$(CNSLogTarget)",
4443
'-o', "$(CNSLogDir)",

test/integration/manifests/cns/daemonset-windows.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ spec:
4949
securityContext:
5050
privileged: true
5151
workingDir: $env:CONTAINER_SANDBOX_MOUNT_POINT
52-
command: ["powershell.exe"]
52+
command: ["azure-cns.exe"]
5353
args:
5454
[
55-
'.\azure-cns.exe',
5655
"-c",
5756
"tcp://$(CNSIpAddress):$(CNSPort)",
5857
"-t",
@@ -107,7 +106,7 @@ spec:
107106
image: acnpublic.azurecr.io/cni-dropgz:latest
108107
imagePullPolicy: Always
109108
command:
110-
- powershell.exe; $env:CONTAINER_SANDBOX_MOUNT_POINT/dropgz
109+
- $env:CONTAINER_SANDBOX_MOUNT_POINT/dropgz
111110
args:
112111
- deploy
113112
- azure-vnet

0 commit comments

Comments
 (0)