You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure exactly how to express this feature request, but I have a use case like the following:
We have an existing deployment that is created by some other system.
We'd like to modify some parts of the spec of that existing deployment from our CompositeController.
This is conceptually similar to things like HorizontalPodAutoscaler which can modify "spec.replicas" of deployments, but doesn't take ownership of those resources.
I've used CompositeController to partially achieve what I want (created a new CRD and parent resource, and made the existing deployment a child of the parent via label selectors). The problem with this approach is that when I delete the parent, it will also delete the child which is not what I want to happen (would be quite a big problem if someone does this by accident).
Happy to hear if you've got any ideas on this. I know we can specify "orphan" mode when deleting the resource, but it is tricky to remember about that (and we would ideally like to have a mix of owned and non-owned child objects).
The text was updated successfully, but these errors were encountered:
I'm not sure exactly how to express this feature request, but I have a use case like the following:
This is conceptually similar to things like HorizontalPodAutoscaler which can modify "spec.replicas" of deployments, but doesn't take ownership of those resources.
I've used CompositeController to partially achieve what I want (created a new CRD and parent resource, and made the existing deployment a child of the parent via label selectors). The problem with this approach is that when I delete the parent, it will also delete the child which is not what I want to happen (would be quite a big problem if someone does this by accident).
Happy to hear if you've got any ideas on this. I know we can specify "orphan" mode when deleting the resource, but it is tricky to remember about that (and we would ideally like to have a mix of owned and non-owned child objects).
The text was updated successfully, but these errors were encountered: