Skip to content

Commit 82f9eff

Browse files
committed
fix(bug): Run setting kubeconfig path for legacy manifest on windows
1 parent 02baed6 commit 82f9eff

File tree

1 file changed

+3
-1
lines changed
  • deploy/legacy/manifests/controller/helm/retina/templates

1 file changed

+3
-1
lines changed

deploy/legacy/manifests/controller/helm/retina/templates/daemonset.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ spec:
203203
containerPort: {{ .Values.retinaPort }}
204204
workingDir: $env:CONTAINER_SANDBOX_MOUNT_POINT
205205
command:
206-
- controller.exe --config ./retina/config.yaml
206+
- powershell.exe
207+
- -command
208+
- .\setkubeconfigpath.ps1; ./controller.exe --config ./retina/config.yaml --kubeconfig ./kubeconfig
207209
env:
208210
- name: POD_NAME
209211
valueFrom:

0 commit comments

Comments
 (0)