Skip to content

Deleting Garbage Collected Dependent resource in Workflows if Reconcile Precondition Not Holds #1869

Closed
@csviri

Description

@csviri

Currently GarbageCollected dependent resource are not deleted in the workflow if a precondition does not hold. Usually this is not a problem, since those resources should not be garbage collected, rather deleted so an ordering can be assured. But would be more correct actually delete those resources (thus just ignore garbage collected (GC), if a DR is deleter just delete it).

For example we had a case when a top level dependent resource was a GC, and had a reconcile precondition, but currently not deleted. This is definitely wrong since, there is no reason this resource should not be deleted in this case.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.workflows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions