-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore: update policies with latest changes #12
base: v3.5
Are you sure you want to change the base?
chore: update policies with latest changes #12
Conversation
Signed-off-by: Pankaj Khushalani <[email protected]>
@chipzoller can you review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are a couple of these policies under a folder called cves
?
I see, they're already in that dir. Whomever put them there misinterpreted their use. They aren't designed to mitigate or help mitigate CVEs, the note in the description refers to min versions of Kubernetes that prevent their operation. They should therefore be moved out of this folder. |
In that case, for better understanding, should we rename |
It may not be a bad idea to have a folder just dedicated to CVE policies. That's not something we do upstream, but I can see it being useful. If that's not possible for some reason, maybe renaming it would be better. |
Should this change be taken up in the current PR? Else I will leave the discussion to you and @nsagark |
I do not know enough about where/how this repo is used throughout Nirmata and what impact renaming a directory will have. cc @patelrit |
Currently, these policies are used in our SaaS in the default PolicySets. We need to move these policies to the Nirmata GitHub repo. The Add-ons repo is specifically for the platform to deploy add-ons. All the curated policies should be in the Nirmata repo. Once the policies are created in the Nirmata repo, we can use that repo for N4K and NPM customers. |
Signed-off-by: Pankaj Khushalani [email protected]
Updated policies with changes as mentioned in #11 for v3.5 branch
best-practices
andpod-security
policies usingkubectl kyverno test
command.cves
policies as well.