How to get only the current project name using oc CLI without other messages
Issue
- You want to get only project name value without filtering useless messages using only oc CLI for script integrations.
Environment
- OpenShift Container Platform
- 3.x
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.