You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mrueg, thanks for filing this issue. If I understand correctly, the ask here is to add a rule that would except any resources with a label from a policy that matches one in a konstraint/ignore (or similar) annotation?
If so, I'd welcome a PR to add this to the examples to show what is possible.
It would be interesting to extend the rego library with support for an annotation-based ignore.
An annotation could look like the following
the logic could then allow to check for annotations on the object to ignore specific policies.
The policies itself should have a variable that allow this behavior, as the default should still be to enforce.
The text was updated successfully, but these errors were encountered: