I'm trying to manage my cluster objects declaratively and I'm having problems automatically deleting objects whose resources' files were removed.
I know there is the apply --prune option but that doesn't work without the last-applied-configuration annotation (here), and because I'm working in SSA(server-side) mode this annotation is omitted.
So I was wondering what's the best way to, declaratively, automatically delete objects from my cluster?