Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add finalizer to ensure integration children are cleaned up #477

Closed
lburgazzoli opened this issue Feb 21, 2019 · 3 comments
Closed

add finalizer to ensure integration children are cleaned up #477

lburgazzoli opened this issue Feb 21, 2019 · 3 comments
Assignees

Comments

@lburgazzoli
Copy link
Contributor

No description provided.

@astefanutti
Copy link
Member

Note that by default, owned resources are deleted prior to the owner and block its deletion base on the ownerReference.blockOwnerDeletion field, see:

https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/#foreground-cascading-deletion

@lburgazzoli
Copy link
Contributor Author

yes I think we need an option that set the cleanup policy:

  • owned
  • finalizer

@astefanutti
Copy link
Member

astefanutti commented Feb 21, 2019

There is a delete option (endpoint and kubectl) that changes the owner deletion behaviour:

https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/#setting-the-cascading-deletion-policy

@lburgazzoli lburgazzoli self-assigned this Feb 21, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Feb 21, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Feb 21, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Feb 21, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Feb 21, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-k that referenced this issue Feb 22, 2019
lburgazzoli added a commit that referenced this issue Feb 22, 2019
valdar pushed a commit to jboss-fuse/camel-k that referenced this issue May 21, 2019
valdar pushed a commit to jboss-fuse/camel-k that referenced this issue May 21, 2019
ipolyzos pushed a commit to ipolyzos/camel-k that referenced this issue Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants