redhat-developer / odo

odo - Developer-focused CLI for fast & iterative container-based application development on Podman and Kubernetes. Implementation of the open Devfile standard.
https://odo.dev
Apache License 2.0
795 stars 243 forks source link

odo fails if it does not have access to openshift resources even while using the minikube cluster #5043

Closed valaparthvi closed 1 year ago

valaparthvi commented 3 years ago

odo fails if it does not have access to these openshift resources, even in minikube. It could be interesting to open an issue, to make odo ignore resources that it cannot access, instead of failing

_Originally posted by @feloy in https://github.com/openshift/odo/pull/5032#discussion_r702601525_

See #5042 for example. /kind bug

dharmit commented 3 years ago

odo fails if it does not have access to these openshift resources, even in minikube

Maybe it's because of the OLM? Operators might need access to some resources usually found in an OCP installation.

valaparthvi commented 3 years ago

odo fails if it does not have access to these openshift resources, even in minikube

Maybe it's because of the OLM? Operators might need access to some resources usually found in an OCP installation.

No, we are talking about the classic resources such as routes and deploymentconfigs.

See #5042 for example. Since the user cannot access deploymentconfig, we see 2 different results for a kubeadmin and a normal user.

For a kubeadmin user, if the error returned says that there is no DC resource on the cluster, but for a non-kubeadmin user, it says that the user is forbidden to access the DC resource.

kadel commented 1 year ago

I belive this is no longer an issue in v4 /close

openshift-ci[bot] commented 1 year ago

@kadel: Closing this issue.

In response to [this](https://github.com/redhat-developer/odo/issues/5043#issuecomment-1422855007): >I belive this is no longer an issue in v4 >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.