plexsystems/konstraint

Allow to add metadata like annotations to constraint automatically

Mattes83 opened this issue · 3 comments

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: #236

I opened a pull request to address this. Do you want to have a look? #324

fixed by #324