konstraint
konstraint copied to clipboard
Allow to add metadata like annotations to constraint automatically
Hi,
we recently switched to konstraint and I think this great tool will save us a lot of work in the future.
Unfortunately there is a small drawback. We are using argo cd to rollout new constraints and therefore we need an annotation on the constraints, see https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#skip-dry-run-for-new-custom-resources-types
If I see it correctly there is no way to do this with konstraint, right?
At the moment there is not. It has been discussed briefly in the past, but has yet to be implemented.
Relates to: https://github.com/plexsystems/konstraint/issues/236
I opened a pull request to address this. Do you want to have a look? #324
fixed by https://github.com/plexsystems/konstraint/pull/324