kubectl-edit-status
kubectl-edit-status copied to clipboard
Add a command-line option to edit status of resource with specified yaml file
Usage: kubectl edit-status <resource> <resource-name> --namespace <namespace> --in <filepath>
Hi @ulucinar,
If you are interested in this feature, the PR can be tested with the following steps:
-
kubectl -n <namespace> get <resource> <resource_name> -o yaml > <filepath>
-
Edit status subresource of resource from yaml output it is located in
) by using an editor (vi, vscode, notepad++, etc.) -
kubectl edit-status <resource> <resource-name> --namespace <namespace> --in <filepath>