Bug 1562781
| Summary: | Accidentally deleted all projects | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Juan Luis de Sousa-Valadas <jdesousa> |
| Component: | RFE | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED WONTFIX | QA Contact: | Xiaoli Tian <xtian> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.0 | CC: | aos-bugs, dmoessne, eparis, jliggitt, jokerman, maszulik, mfojtik, mmccomas, wmeng |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-04 13:59:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Juan Luis de Sousa-Valadas
2018-04-02 13:30:47 UTC
Michal and master team:
Let's use this BZ to track a change to the CLI which will consider
oc delete ${cluster_scope_resource} -n $namespace --all
as a hard error.
I've opened https://github.com/kubernetes/kubernetes/pull/62167 will wait for upstream opinion on it. The PR from the comment 9 was not approved. We'll need to pursuit a different approach on it. We should pursuit an approach similar to https://github.com/kubernetes/kubernetes/pull/17740 Since this requires creating a new functionality and is not a bug per se I'm changing the component to RFE. As stated elsewhere we are NOT going to implement any mechanism protecting users from accidentally removing projects, there are admission webhooks [1] that allow admins to create such protection. [1] https://docs.openshift.org/latest/architecture/additional_concepts/dynamic_admission_controllers.html The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |