1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/cli/test-exceptions/exceptions-3/resources.yaml
Mariam Fahmy 406cb5d32b
chore: add tests for exceptions in the CLI (#9781)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-02-26 07:57:47 +00:00

46 lines
609 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: good-pod
namespace: default
spec:
containers:
- name: nginx
image: nginx
args:
- sleep
- 1d
---
apiVersion: v1
kind: Pod
metadata:
name: excluded-pod
namespace: staging-ns
spec:
volumes:
- name: host
hostPath:
path: /var/lib1
containers:
- name: nginx
image: nginx
args:
- sleep
- 1d
---
apiVersion: v1
kind: Pod
metadata:
name: bad-pod
namespace: default
spec:
volumes:
- name: host
hostPath:
path: /var/lib1
containers:
- name: nginx
image: nginx
args:
- sleep
- 1d