-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
Review approaches:
- Have different CRD or only one; one to install application - runtime, another to link/bind env, secrets, create a service VS having a generic CRD where the logic of the operator can manage to create an application - runtime, update DC, create a service, ...
- What should we do when a CR is updated (more technical info about update is handled here [1] [2]) as the "UpdateFunc is called when an existing resource is modified. The oldObj is the last known state of the resource. UpdateFunc is also called when a re-synchronization happens, and it gets called even if nothing changes."
[1] https://engineering.bitnami.com/articles/a-deep-dive-into-kubernetes-controllers.html
[2] https://github.com/apache/camel-k/blob/master/pkg/controller/integration/integration_controller.go#L54-L63