mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +00:00
17 lines
No EOL
442 B
YAML
17 lines
No EOL
442 B
YAML
# file path relative to project root
|
|
input:
|
|
policy: samples/more/restrict_image_registries.yaml
|
|
resource: test/resources//trusted_image_registries.yaml
|
|
expected:
|
|
validation:
|
|
policyresponse:
|
|
policy: restrict-image-registries
|
|
resource:
|
|
kind: Pod
|
|
apiVersion: v1
|
|
namespace: ''
|
|
name: k8s-nginx
|
|
rules:
|
|
- name: validate-registries
|
|
type: Validation
|
|
success: true |