logoalt Hacker News

znpyyesterday at 9:59 AM1 replyview on HN

Kustomize is nice but you’re missing out on objects lifecycle management.

Kustomize had the issue that it would leave objects dangling in the cluster and you had to manually clean them up of you removed them from your kustomization file.


Replies

pestaayesterday at 4:02 PM

If you use the kustomize controller from the FluxCD project, you can set it to prune unmanaged objects.

In true GitOps, I think it's should be default on.