mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: use Audit instead of audit in kuttl tests (#6770)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
cc9adc5cd8
commit
89928e286a
27 changed files with 27 additions and 27 deletions
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
annotations:
|
||||
pod-policies.kyverno.io/autogen-controllers: Deployment,StatefulSet,Job
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
annotations:
|
||||
pod-policies.kyverno.io/autogen-controllers: none
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
annotations:
|
||||
pod-policies.kyverno.io/autogen-controllers: CronJob
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
annotations:
|
||||
pod-policies.kyverno.io/autogen-controllers: Deployment
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: disallow-latest-tag
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- match:
|
||||
resources:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: require-owner
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: false
|
||||
rules:
|
||||
- name: check-owner
|
||||
|
|
|
@ -15,4 +15,4 @@ spec:
|
|||
podSecurity:
|
||||
level: restricted
|
||||
version: latest
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
|
|
|
@ -15,7 +15,7 @@ spec:
|
|||
podSecurity:
|
||||
level: restricted
|
||||
version: latest
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
status:
|
||||
conditions:
|
||||
- reason: Succeeded
|
||||
|
|
|
@ -18,7 +18,7 @@ metadata:
|
|||
restricted profile through the latest version of the Pod Security Standards cluster wide.
|
||||
spec:
|
||||
background: true
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
rules:
|
||||
- name: restricted
|
||||
match:
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-match-clusterroles
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-clusterroles
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-match-clusterroles
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-clusterroles
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-match-roles
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-roles
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-match-roles
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-roles
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-vars-roles
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-vars-roles
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-vars-roles
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-vars-roles
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-vars-serviceaccountname
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-vars-serviceaccountname
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-vars-serviceaccountname
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-vars-serviceaccountname
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-vars-userinfo
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-vars-userinfo
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: background-vars-userinfo
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: ns-vars-userinfo
|
||||
|
|
|
@ -16,7 +16,7 @@ kind: ClusterPolicy
|
|||
metadata:
|
||||
name: validate-labels
|
||||
spec:
|
||||
validationFailureAction: audit
|
||||
validationFailureAction: Audit
|
||||
background: true
|
||||
rules:
|
||||
- name: validate-labels
|
||||
|
|
Loading…
Reference in a new issue