From da3d48f0209c24a85a5d2ebd61984a6cc734a357 Mon Sep 17 00:00:00 2001 From: Shuting Zhao Date: Tue, 17 Sep 2019 18:51:16 -0700 Subject: [PATCH] update test scenario for non-root user --- test/scenarios/test/scenario_validate_nonRootUser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scenarios/test/scenario_validate_nonRootUser.yaml b/test/scenarios/test/scenario_validate_nonRootUser.yaml index f5dae28ef5..2d9119f376 100644 --- a/test/scenarios/test/scenario_validate_nonRootUser.yaml +++ b/test/scenarios/test/scenario_validate_nonRootUser.yaml @@ -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 \ No newline at end of file