-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constraint status violations are missing the GV in GVK #2095
Labels
bug
Something isn't working
Comments
prachirp
added a commit
to prachirp/gatekeeper
that referenced
this issue
Jun 11, 2022
prachirp
added a commit
to prachirp/gatekeeper
that referenced
this issue
Jun 13, 2022
For open-policy-agent#2095 Signed-off-by: Prachi Pendse <[email protected]>
sozercan
pushed a commit
that referenced
this issue
Jun 14, 2022
Would be good to update the docs as well |
ChrisFraun
pushed a commit
to ChrisFraun/gatekeeper
that referenced
this issue
Jun 29, 2022
…licy-agent#2098) Signed-off-by: Christoph Fraundorfer <[email protected]>
ChrisFraun
pushed a commit
to ChrisFraun/gatekeeper
that referenced
this issue
Jun 29, 2022
…licy-agent#2098) Signed-off-by: Christoph Fraundorfer <[email protected]>
davis-haba
pushed a commit
to davis-haba/gatekeeper
that referenced
this issue
Jul 19, 2022
…licy-agent#2098) Signed-off-by: davis-haba <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps did you take and what happened:
View the status of a constraint with violations. Each violation has a Kind, Namespace, and Name, but no Group or Version.
What did you expect to happen:
Resources are only uniquely identifiable by their GKNN and most API server requests require GVKNN. It would be helpful to fully identify violating resources.
Anything else you would like to add:
This looks like it may be a couple line fix: https://github.com/open-policy-agent/gatekeeper/blob/master/pkg/audit/manager.go#L90
The updateListEntry struct already has the group and version fields, they just aren't being copied over?
The text was updated successfully, but these errors were encountered: