1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Bugfix/878 fix disallow sysctls (#899)

* - support wildcards for namespaces

* do not annotate resource, unless policy is an autogen policy

* close HTTP body

* improve messages

* only check sysctls if security context is defined
This commit is contained in:
Jim Bugwadia 2020-06-03 17:46:01 -07:00 committed by GitHub
parent ecf66c5948
commit 32cd23963a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,5 +18,5 @@ spec:
message: "Changes to kernel paramaters are not allowed"
pattern:
spec:
securityContext:
=(securityContext):
X(sysctls): null