mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
22 lines
No EOL
577 B
YAML
22 lines
No EOL
577 B
YAML
# file path relative to project root
|
|
input:
|
|
policy: test/best_practices/disallow_privileged.yaml
|
|
resource: test/resources/disallow_privileged.yaml
|
|
expected:
|
|
validation:
|
|
policyresponse:
|
|
policy:
|
|
namespace: ''
|
|
name: disallow-privileged
|
|
resource:
|
|
kind: Pod
|
|
apiVersion: v1
|
|
namespace: ''
|
|
name: check-privileged-cfg
|
|
rules:
|
|
- name: validate-privileged
|
|
type: Validation
|
|
status: fail
|
|
- name: validate-allowPrivilegeEscalation
|
|
type: Validation
|
|
status: fail |