Skip to content

Commit

Permalink
remove pwsh from cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Baker <[email protected]>
  • Loading branch information
rbtr committed Jan 7, 2025
1 parent 90fe17a commit 9dc907c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions cns/azure-cns-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
5 changes: 2 additions & 3 deletions test/integration/manifests/cns/daemonset-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9dc907c

Please sign in to comment.