fluxcd / flux

Successor: https://github.com/fluxcd/flux2
https://fluxcd.io
Apache License 2.0
6.9k stars 1.08k forks source link

In-order cleanup is required for tools like rook #3501

Closed telmich closed 3 years ago

telmich commented 3 years ago

Describe the bug

If changing the rook resources (see https://code.ungleich.ch/ungleich-public/ungleich-k8s/-/tree/master/rook for a condensed example), it must be deleted and created in order, see https://rook.io/docs/rook/v1.6/ceph-teardown.html

If not deleted in order, the namespace will never be freed.

To Reproduce

Install above set of manifests via flux, modify it so that flux recreates it - for instance by rename the kustomization.

Expected behavior

Flux needs to have a way to delete in order.

Additional context

telmich commented 3 years ago

Wrong repo, recreated in https://github.com/fluxcd/flux2/issues/1614