Skip to content
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

[BUG] failed to update violations as resource version is missing #516

Closed
realshuting opened this issue Nov 19, 2019 · 0 comments · Fixed by #517
Closed

[BUG] failed to update violations as resource version is missing #516

realshuting opened this issue Nov 19, 2019 · 0 comments · Fixed by #517
Assignees
Labels
bug Something isn't working

Comments

@realshuting
Copy link
Member

Describe the bug
When a policy spec changes, the updates of violations are failed due to empty resource version:

E1118 17:46:23.050254   14360 generator.go:159] failed to update namespaced policy violation: namespacedpolicyviolations.kyverno.io "pv-cjtq8" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant