1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/scenarios/samples/more/restrict_image_registries.yaml

17 lines
442 B
YAML
Raw Normal View History

2019-10-10 10:29:10 -07:00
# file path relative to project root
input:
2019-11-11 17:55:54 -08:00
policy: samples/more/restrict_image_registries.yaml
2019-10-14 14:10:34 -07:00
resource: test/resources//trusted_image_registries.yaml
2019-10-10 10:29:10 -07:00
expected:
validation:
policyresponse:
2019-11-10 18:13:01 -08:00
policy: restrict-image-registries
2019-10-10 10:29:10 -07:00
resource:
kind: Pod
apiVersion: v1
namespace: ''
name: k8s-nginx
rules:
2019-11-10 18:13:01 -08:00
- name: validate-registries
2019-10-10 10:29:10 -07:00
type: Validation
success: true