1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/test/conformance/kuttl/mutate/existing/preconditions/resources.yaml
Charles-Edouard Brétéché 073309a8ae
fix: preconditions in mutate existing rules (#7183)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-05-12 15:43:36 +00:00

33 lines
477 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: nginx-a
namespace: default
annotations:
policy.lan/value: foo
spec:
containers:
- name: nginx
image: nginx
---
apiVersion: v1
kind: Pod
metadata:
name: nginx-b
namespace: default
spec:
containers:
- name: nginx
image: nginx
---
apiVersion: v1
kind: Pod
metadata:
name: nginx-c
namespace: default
annotations:
policy.lan/value: bar
spec:
containers:
- name: nginx
image: nginx