File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -59,3 +59,9 @@ all Deployments managed by the Controller (identified by the `managed-by` label)
59
59
When an event from a Deployment is received we have to identify which Tomcat object does the Deployment
60
60
belong to. This is done when the DeploymentEventSource creates the DeploymentEvent.
61
61
62
+ The TomcatController has to take care of setting the ` managed-by ` label on the Deployment so the
63
+ DeploymentEventSource can watch the right Deployments.
64
+ The TomcatController also has to set ` ownerReference ` on the Deployment so later the DeploymentEventSource can
65
+ identify which Tomcat does the Deployment belong to. This is necessary so the frameowork can call the Controller
66
+ ` createOrUpdate ` method correctly.
67
+
You can’t perform that action at this time.
0 commit comments