mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* fix: verifyImages w/ multiple entries is not consistent Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * clean Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix: Kyverno apply produces false positives when validating 'empty dangling' tags Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
101 lines
No EOL
1.5 KiB
YAML
101 lines
No EOL
1.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
name: i-will-fail-the-policy-check
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: lol
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
annotations: {}
|
|
spec:
|
|
containers:
|
|
- image: woot
|
|
name: woot
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
name: no-annotations-pass
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: lol
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
# annotations:
|
|
spec:
|
|
containers:
|
|
- image: woot
|
|
name: woot
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
name: empty-object-pass
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: lol
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
annotations: {}
|
|
spec:
|
|
containers:
|
|
- image: woot
|
|
name: woot
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
name: correct-lol-annotation-pass
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: lol
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
annotations:
|
|
lol: much annotation
|
|
spec:
|
|
containers:
|
|
- image: woot
|
|
name: woot
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
name: unrelated-annotation-pass
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: lol
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lol
|
|
annotations:
|
|
much: unrelated
|
|
spec:
|
|
containers:
|
|
- image: woot
|
|
name: woot |