Skip to content

Commit 727e6a2

Browse files
committed
fix: update the way of argocd exists check
Signed-off-by: Daniel Hu <[email protected]>
1 parent ebfeccb commit 727e6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/start/tool/argocd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
var toolArgocd = tool{
1515
Name: "Argo CD",
1616
IfExists: func() bool {
17-
cmd := exec.Command("kubectl", "get", "ns", "argocd")
17+
cmd := exec.Command("helm", "status", "argocd", "-n", "argocd")
1818
return cmd.Run() == nil
1919
},
2020

0 commit comments

Comments
 (0)