1
0
Fork 0
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:
Charles-Edouard Brétéché 2023-04-03 18:27:21 +02:00 committed by GitHub
parent cc9adc5cd8
commit 89928e286a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 27 additions and 27 deletions

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -5,7 +5,7 @@ metadata:
annotations:
pod-policies.kyverno.io/autogen-controllers: Deployment,StatefulSet,Job
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -5,7 +5,7 @@ metadata:
annotations:
pod-policies.kyverno.io/autogen-controllers: none
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -5,7 +5,7 @@ metadata:
annotations:
pod-policies.kyverno.io/autogen-controllers: CronJob
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -5,7 +5,7 @@ metadata:
annotations:
pod-policies.kyverno.io/autogen-controllers: Deployment
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: disallow-latest-tag
spec:
validationFailureAction: audit
validationFailureAction: Audit
rules:
- match:
resources:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: require-owner
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: false
rules:
- name: check-owner

View file

@ -15,4 +15,4 @@ spec:
podSecurity:
level: restricted
version: latest
validationFailureAction: audit
validationFailureAction: Audit

View file

@ -15,7 +15,7 @@ spec:
podSecurity:
level: restricted
version: latest
validationFailureAction: audit
validationFailureAction: Audit
status:
conditions:
- reason: Succeeded

View file

@ -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:

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-match-clusterroles
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-clusterroles

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-match-clusterroles
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-clusterroles

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-match-roles
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-roles

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-match-roles
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-roles

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-vars-roles
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-vars-roles

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-vars-roles
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-vars-roles

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-vars-serviceaccountname
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-vars-serviceaccountname

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-vars-serviceaccountname
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-vars-serviceaccountname

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-vars-userinfo
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-vars-userinfo

View file

@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: background-vars-userinfo
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: ns-vars-userinfo

View file

@ -16,7 +16,7 @@ kind: ClusterPolicy
metadata:
name: validate-labels
spec:
validationFailureAction: audit
validationFailureAction: Audit
background: true
rules:
- name: validate-labels