Bug 1566785

Summary: `oc delete all --all` cannot delete the ingress resource
Product: OpenShift Container Platform Reporter: zhaozhanqi <zzhao>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED WONTFIX QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: medium    
Version: 3.10.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-27 21:47:13 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:

Description zhaozhanqi 2018-04-13 01:41:31 UTC
Description of problem:
When using `oc delete all --all` to delete all resource. found the ingress did not been removed.
since for now the ingress resource can be created by normal user just like route. So this resource should be added to the 'all' list.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create ingress 
   oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/routing/ingress/test-ingress.json
2. using the following command:
   oc delete all --all

Actual results:
 the ingress resource did not been removed

Expected results:
 the ingress resource should be deleted.

Additional info:

Comment 1 Juan Vallejo 2018-04-13 15:22:36 UTC
Upstream PR: https://github.com/kubernetes/kubernetes/pull/62546

Comment 4 Maciej Szulik 2019-02-27 21:47:13 UTC
Based on the feedback on the upstream PR this won't be solved.