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
2019-11-11 17:55:54 -08:00

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