[
https://issues.jboss.org/browse/JBIDE-22241?page=com.atlassian.jira.plugi...
]
Jeff MAURY commented on JBIDE-22241:
------------------------------------
Here is my reverse engineering from the OC client.
||Resource type||Delete processing||
|ReplicationController|check other compatible ReplicationControllers (selector is
compatible with own selector), if compatible ReplicationControllers selector have the same
number of elements then they are considered as exact match otherwise as overlapping. If
there are overlapping cascaded delete is refused, otherwise if there is a single exact
match ReplicationController, it is scaled down to 0 and then deleted. Code logic is
available here:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/stop.go#...
|DeploymentConfig|delete linked ReplicationControllers using labelSelector
*openshift.io/deployment-config.name=dcName*. Code logic is available here:
https://github.com/openshift/origin/blob/master/pkg/deploy/reaper/reaper....
|Route|simple delete|
|Service|simple delete|
|BuildConfig|first set the annotation *openshift.io/build-config.paused* to *true* then
delete linked Builds using labelSelector *openshift.io/build-config.name=bcName* then
delete linked Builds using labelSelector *buildconfig=bcName* then delete the BuildConfig
is no error in previous steps. Code logic is available here:
https://github.com/openshift/origin/blob/master/pkg/build/reaper/reaper.g...
|Build|simple delete|
|ImageStream|simple delete|
|Pod|simple delete|
|Project|simple delete|
OpenShift Explorer: Cascade resource deletion
---------------------------------------------
Key: JBIDE-22241
URL:
https://issues.jboss.org/browse/JBIDE-22241
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 4.4.0.Alpha1
Reporter: Marián Labuda
Assignee: Jeff MAURY
Labels: explorer, openshift_v3, ux
Fix For: 4.4.0.Final
It would be nice to have a possibility to allow cascading deletion, deletion of related
resource/resource managed by the resource which is about to be deleted.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)