The metadata schema currently does not support adding the finalizers field (which is valid). I ran into this when generating Application resources for Argo CD:
If you want to enable cascading deletes in Argo, you must declare a finalizer upfront. While this might be a bit of an edge case, I don't see a reason for not supporting it in the definition:
The metadata schema currently does not support adding the
finalizers
field (which is valid). I ran into this when generatingApplication
resources for Argo CD:If you want to enable cascading deletes in Argo, you must declare a finalizer upfront. While this might be a bit of an edge case, I don't see a reason for not supporting it in the definition: