feature: Provide a flag similar to -n in openshift to update/view/access/create/delete/edit resource across workspaces in kcp something like a -w/--workspace flag #2634
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
Feature Description
Currently in kcp if a user has to update/view/access/edit/create/delete a resource in another workspace user will have to change the workspace and enter the workspace in which the resource resides to perform the above operations. It would be helpful if a flag similar to -n in openshift is available or user should be able to perform CURD operations via the absolute path of the workspace.
Proposed Solution
Provide an option similar to -n in openshift to create/view/access/edit a resource across workspaces in kcp.
Examples:
$ kubectl get ws -w my-workspace
$ kubectl get deployment -w my-kcp-workspace
Or
An absolute path to the workspace where the resource exists.
Examples:
$ kubectl get synctarget <full_path_to_locationworkspace>
$ kubectl get deployment <full_path_to_workloadworkspace>
Alternative Solutions
No response
Want to contribute?
Additional Context
No response
The text was updated successfully, but these errors were encountered: