mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-12 10:56:54 +00:00
* Add a registry flag to allow direct access to container registries in the CLI Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com>
17 lines
359 B
YAML
17 lines
359 B
YAML
name: test-variables
|
|
policies:
|
|
- image-example.yaml
|
|
resources:
|
|
- resources.yaml
|
|
results:
|
|
- policy: images
|
|
rule: only-allow-trusted-images
|
|
resource: test-pod-with-non-root-user-image
|
|
kind: Pod
|
|
status: pass
|
|
- policy: images
|
|
rule: only-allow-trusted-images
|
|
resource: test-pod-with-trusted-registry
|
|
kind: Pod
|
|
status: pass
|
|
|