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

fix prefix check for list of polr with namespace in memory mode #182

Merged
merged 4 commits into from
Sep 13, 2024

Conversation

P0lskay
Copy link
Contributor

@P0lskay P0lskay commented Sep 12, 2024

Fix issue: #181

Signed-off-by: P0lskay <49369886+P0lskay@users.noreply.github.com>
@vishal-chdhry
Copy link
Member

@P0lskay thanks for the fix, I think the same fix will be required in ephr.go as well, can you please add that too

if namespace == "" || strings.HasPrefix(k, namespace) {

Signed-off-by: P0lskay <49369886+P0lskay@users.noreply.github.com>
@P0lskay
Copy link
Contributor Author

P0lskay commented Sep 12, 2024

@vishal-chdhry I really forgot about ephemeral reports (my version of kyverno doesn't have them yet). I fixed it, thanks!

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
@vishal-chdhry vishal-chdhry merged commit 0605bcf into kyverno:main Sep 13, 2024
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants