You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2018/11/09 16:41:54 UTC
[GitHub] nicolaferraro opened a new issue #211: Remove old resources on
redeploy
nicolaferraro opened a new issue #211: Remove old resources on redeploy
URL: https://github.com/apache/camel-k/issues/211
When doing a redeploy, we just update resources but don't remove child resources that are no longer needed.
This means that if we use e.g. `from("undertow:..")`, a service and a route will be added. If we then switch to `from("timer:..")` they should be removed, but instead they are left there: https://github.com/apache/camel-k/blob/27e03854c670f01804cd7023db54afdcd0b40514/pkg/stub/action/integration/deploy.go#L49
This become a real issue e.g. if we want to create automatically subscriptions to Knative channels. If we change the channel, we still get events from the old one...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services