File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ package kubectl
33import (
44 "context"
55 "fmt"
6- "k8s.io/apimachinery/pkg/runtime"
76 "net"
87 "net/http"
98 "strings"
109
10+ "k8s.io/apimachinery/pkg/runtime"
11+
1112 "github.com/loft-sh/devspace/pkg/devspace/kubectl/portforward"
1213 "github.com/loft-sh/devspace/pkg/util/log"
1314 "github.com/pkg/errors"
@@ -23,6 +24,7 @@ const (
2324 minikubeProvider = "minikube.sigs.k8s.io"
2425 dockerDesktopContext = "docker-desktop"
2526 dockerForDesktopContext = "docker-for-desktop"
27+ orbstackContext = "orbstack"
2628)
2729
2830// WaitStatus are the status to wait
@@ -216,6 +218,7 @@ func IsLocalKubernetes(kubeClient Client) bool {
216218
217219 context := kubeClient .CurrentContext ()
218220 if strings .HasPrefix (context , "kind-" ) ||
221+ context == orbstackContext ||
219222 context == dockerDesktopContext ||
220223 context == dockerForDesktopContext {
221224 return true
You can’t perform that action at this time.
0 commit comments