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:
parent
ecf66c5948
commit
32cd23963a
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@ spec:
|
|||
message: "Changes to kernel paramaters are not allowed"
|
||||
pattern:
|
||||
spec:
|
||||
securityContext:
|
||||
=(securityContext):
|
||||
X(sysctls): null
|
Loading…
Add table
Reference in a new issue