Project deletion
Open
@fabianofranz is already working on this.
Since Oct 2, 2015.
area/usability
component/cli
kind/feature
lifecycle/frozen
priority/P2
sig/master
- Dominant language
- Go
- Stars
- 8.7k
- Forks
- 4.8k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 53
Description
Currently the only way to delete a project is via oc delete project <project_name>. By using delete, users can even delete the project they currently are in:
[vagrant@openshiftdev sample-app]$ oc project
Using project "test" from context named "test/localhost:8443/test" on server "https://localhost:8443".
[vagrant@openshiftdev sample-app]$ oc delete project test
project "test" deleted
[vagrant@openshiftdev sample-app]$ oc project
error: you do not have rights to view project "test".
This doesn't feel right. How about providing a -D flag on oc project that will take care of that and won't allow for a project deletion if the user is currently using it (similar to what git branch -D is doing) ?
cc: @fabianofranz @deads2k @derekwaynecarr
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.