Skip to content

Commit

Permalink
fix(bug): Update windows legacy powershell command
Browse files Browse the repository at this point in the history
  • Loading branch information
BeegiiK committed Dec 16, 2024
1 parent b59b9cd commit 548352e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,11 @@ spec:
command:
- powershell.exe
- -command
{{- if semverCompare ">=1.28" .Capabilities.KubeVersion.GitVersion }}
- $env:CONTAINER_SANDBOX_MOUNT_POINT/controller.exe --config ./retina/config.yaml
{{- else }}
- .\setkubeconfigpath.ps1; ./controller.exe --config ./retina/config.yaml --kubeconfig ./kubeconfig
{{- end }}
env:
- name: POD_NAME
valueFrom:
Expand Down

0 comments on commit 548352e

Please sign in to comment.