crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.26k stars 240 forks source link

doc says to login as a developer, and then immediatly shows a command ran as an admin #2176

Open cfergeau opened 3 years ago

cfergeau commented 3 years ago

https://github.com/code-ready/crc/blob/master/docs/source/topics/proc_accessing-the-openshift-cluster-with-oc.adoc

  1. Log in as the developer user: [...]
  2. You can now use oc to interact with your OpenShift cluster. For example, to verify that the OpenShift cluster Operators are available, you need to be logged in as kubeadmin user and run the following command:

After reading this, my reaction is to wonder why the documentation told me to log in as a developer if the only example it gives requires to be an admin.

cfergeau commented 3 years ago

oc get pods is empty right after cluster creation, so not that useful. oc new-project is also not really useful. Or do one of these, and point the user at more step by step documentation for their first openshift project?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cfergeau commented 3 years ago

This issue is still present.

kowen-rh commented 3 years ago

Right, we just changed that command slightly, but never updated the docs to use a command accessible to the developer user.

Is there a good command that we can use here simply to verify that oc is interacting correctly with the cluster that doesn't require any additional privileges? I seem to vaguely recall a conversation about this, but I can't remember if we ever came up with a good answer.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.