1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

update test scenario for non-root user

This commit is contained in:
Shuting Zhao 2019-09-17 18:51:16 -07:00
parent 658fb84e91
commit da3d48f020

View file

@ -14,5 +14,5 @@ expected:
rules:
- name: deny-runasrootuser
type: Validation
message: Validation rule 'deny-runasrootuser' failed to validate patterns defined in anyPattern. Root user is not allowed. Set runAsNonRoot to true.; anyPattern[0] failed at path /spec/securityContext/
message: Validation rule 'deny-runasrootuser' failed to validate patterns defined in anyPattern. Root user is not allowed. Set runAsNonRoot to true.; anyPattern[0] failed at path /spec/securityContext/; anyPattern[1] failed at path /spec/containers/0/securityContext/
success: false