Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Remove Host CRs when the Provider CR is deleted #162

Closed
ghost opened this issue Feb 15, 2021 · 1 comment
Closed

Remove Host CRs when the Provider CR is deleted #162

ghost opened this issue Feb 15, 2021 · 1 comment
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Feb 15, 2021

As a user, when I delete the Provider CR, I would expect the Host CRs to be deleted, in order to not have leftovers. The Host does only exist in the context of a Provider.

A possible implementation could be based on setting the owner reference on the Host CR to reference the Provider, so that the garbage collector deletes the Host CRs automatically.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1928766

@ghost ghost added the Medium label Feb 15, 2021
@ghost ghost assigned jortel Feb 15, 2021
@ghost
Copy link
Author

ghost commented Feb 16, 2021

Implementation done in kubev2v/forklift-ui#420.

@ghost ghost closed this as completed Feb 16, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant