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 method to specify DeleteOptions propagationPolicy #1614

Closed
dsimansk opened this issue Jul 3, 2019 · 2 comments
Closed

Add method to specify DeleteOptions propagationPolicy #1614

dsimansk opened this issue Jul 3, 2019 · 2 comments

Comments

@dsimansk
Copy link
Contributor

dsimansk commented Jul 3, 2019

I haven't found a way to specify propagationPolicy for the delete operation.

In a log I can see the currently orphanDependents is used with boolean value, but in fact that option is already Deprecated in K8s.

Would it be possible to add such config method?

INFO: {"apiVersion":"v1","kind":"DeleteOptions","gracePeriodSeconds":0,"orphanDependents":false}

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

@stale
Copy link

stale bot commented Oct 1, 2019

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Oct 1, 2019
@rohanKanojia
Copy link
Member

rohanKanojia commented Oct 1, 2019

I think #1742 would have solve this

@stale stale bot removed the status/stale label Oct 1, 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