Go Panic when running odo dev
with minikube
#7140
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/*` and requires one.
/kind bug
What versions of software are you using?
Operating System:
Ubuntu
Output of
odo version
:3.15.0
How did you run odo exactly?
sudo odo dev --logs --port-forward 8000:8000
Actual behavior
Errored on run with a go panic.
Expected behavior
A. Run odo dev as normal (this command and devfile work fine in windows/mac environments with docker desktop). The main differences with this dev's environment is that odo is being run on ubuntu with minikube as the k8s backend, instead of docker-desktop's k8s cluster.
B. The error (
Failed to delete inner loop resources: failed to get deployment "<project-name>-app": Get "https://192.168.49.2:8443/apis/apps/v1/namespaces/default/deployments/<project-name>-app": Forbidden
) seems like it could be an issue with the minikube configuration, which is understandable. However, in this case, odo should not panic and instead print out a helpful error message.Any logs, error output, etc?
Error output:
The text was updated successfully, but these errors were encountered: