mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
18 lines
483 B
YAML
18 lines
483 B
YAML
|
# file path relative to project root
|
||
|
input:
|
||
|
policy: samples/best_practices/require_ro_rootfs.yaml
|
||
|
resource: test/resources/require_readonly_rootfilesystem.yaml
|
||
|
expected:
|
||
|
validation:
|
||
|
policyresponse:
|
||
|
policy: require-ro-rootfs
|
||
|
resource:
|
||
|
kind: Pod
|
||
|
apiVersion: v1
|
||
|
namespace: ''
|
||
|
name: "ghost-with-readonly-rootfilesystem"
|
||
|
rules:
|
||
|
- name: validate-readOnlyRootFilesystem
|
||
|
type: Validation
|
||
|
success: false
|