-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
Proposed title of this feature request
Add an oc command to open an authenticated web console session
What is the nature and description of the request?
When a user is logged into a cluster via the CLI, running the oc console command would automatically open their default web browser to the OpenShift Web Console, using their current CLI session to establish an authenticated session.
Example 1:
The command could also support flags to target a specific namespace or resource, for example: oc console --namespace=my-project.
Example 2:
Or even will open the UI page for the pod that I just had action on.
oc apply xxxxxxx
oc console --follow
The command will open the detail page of the service I just run oc apply.
The command will log the user into the console with the current oc session. Users will not need to manually fill out the credentials in the login form anymore.
Why does the customer need this? (List the business requirements here)
Improved workflow ffficiency, reduced authentication friction, enhanced productivity, session consistency
As a developer, after deploying a new application with oc apply, I want to run oc console to immediately open the web UI and view the status of my deployment and pods without having to log in again.
As a cluster administrator, while troubleshooting a failing node from my terminal, I want to run oc console to quickly pivot to the web console's observability dashboards to visualize metrics for that node.
As a new user, I want a simple command to discover and access the web console after my initial oc login, without needing to ask for the URL or figure out how to get a login token.
List any affected packages or components.
openshift/oc, openshift/console