mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 07:26:55 +00:00
fix: chainsaw tests (#11033)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
e3fc2a76e9
commit
fd3fa10956
4 changed files with 4 additions and 5 deletions
|
@ -8,7 +8,6 @@ kind: ConfigMap
|
|||
metadata:
|
||||
name: owner
|
||||
namespace: cpol-clone-delete-ownerreferences-across-namespaces-source-ns
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: v1
|
||||
data:
|
||||
|
|
|
@ -11,8 +11,8 @@ spec:
|
|||
- resources:
|
||||
kinds:
|
||||
- Deployment
|
||||
annotations:
|
||||
structured-logs: "true"
|
||||
annotations:
|
||||
structured-logs: "true"
|
||||
mutate:
|
||||
patchStrategicMerge:
|
||||
metadata:
|
||||
|
|
|
@ -4,7 +4,7 @@ metadata:
|
|||
name: require-owner
|
||||
spec:
|
||||
background: false
|
||||
auditWarning: true
|
||||
emitWarning: true
|
||||
rules:
|
||||
- match:
|
||||
any:
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
- Pod
|
||||
validate:
|
||||
message: The label 'app' is required.
|
||||
validationFailureAction: Audit
|
||||
failureAction: Audit
|
||||
pattern:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Add table
Reference in a new issue