1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

chore: fix chainsaw tests cleanup timeout (#9028)

* chore: fix chainsaw tests cleanup timeout

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* bump chainsaw

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* grace

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* checks

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* bump chainsaw

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix deletes

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix exceptions

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-11-28 02:02:32 +01:00 committed by GitHub
parent 4c275bca05
commit 426525be37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
150 changed files with 664 additions and 470 deletions

View file

@ -147,7 +147,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -217,7 +217,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -287,7 +287,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -359,7 +359,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -429,7 +429,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -505,7 +505,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -580,7 +580,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -674,7 +674,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:
@ -748,7 +748,7 @@ jobs:
- name: Install Chainsaw
uses: kyverno/chainsaw/.github/actions/install@c08ae80bc45546987edff33212bf33161c84ce59 # v0.0.6
with:
release: v0.0.7-alpha.3
release: v0.0.7-alpha.5
- name: Test with Chainsaw
shell: bash
env:

View file

@ -5,9 +5,9 @@ metadata:
spec:
timeouts:
assert: 90s
cleanup: 150s
error: 90s
parallel: 1
fullName: true
failFast: false
excludeTestRegex: '_.+'
forceTerminationGracePeriod: 5s

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: invalidpolicy.yaml

View file

@ -8,14 +8,17 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: cleanuppolicy-with-subjects.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: cleanuppolicy-with-roles.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: cleanuppolicy-with-clusterroles.yaml

View file

@ -8,10 +8,12 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: cleanuppolicy-with-image-registry.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: cleanuppolicy-with-configmap.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: deploy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -10,8 +10,9 @@ spec:
- apply:
file: configmap-allowed.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: configmap-rejected.yaml
- assert:
file: configmap-allowed.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: apps/v1
kind: Deployment
name: test-dpl1

View file

@ -10,8 +10,9 @@ spec:
- apply:
file: exception-allowed.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: exception-rejected.yaml
- assert:
file: exception-allowed.yaml

View file

@ -10,6 +10,11 @@ spec:
- apply:
file: good-deployment.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: bad-deployment.yaml
finally:
- script:
content: sleep 5
timeout: 10s

View file

@ -1,13 +0,0 @@
---
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: TestStep
metadata:
creationTimestamp: null
name: sleep
spec:
timeouts: {}
try:
- command:
args:
- "4"
entrypoint: sleep

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: configmap.yaml

View file

@ -10,8 +10,9 @@ spec:
- apply:
file: configmap-allowed.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: configmap-rejected.yaml
- assert:
file: configmap-allowed.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -10,6 +10,7 @@ spec:
- apply:
file: resource.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource-fail.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: mysecret

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcred

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: mysecret

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Namespace
name: cpol-clone-create-on-trigger-deletion-trigger-ns

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
name: cpol-clone-sync-reinstall-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: my-configmapmy-configmapmy-configmapmy-configmapmy-configmapmy-configmap

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcred

View file

@ -10,6 +10,7 @@ spec:
- assert:
file: check.yaml
- delete:
ref:
apiVersion: kyverno.io/v2beta1
kind: ClusterPolicy
name: cpol-nosync-clone-delete-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcred

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Namespace
name: cpol-clone-list-sync-delete-source-trigger-ns-1

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcred

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v2beta1
kind: ClusterPolicy
name: cpol-clone-sync-delete-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcred

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: zk-kafka-address

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
name: cpol-data-nosync-delete-policy-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: zk-kafka-address

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: foosource-1

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
name: cpol-data-sync-delete-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: pol-clone-create-on-trigger-deletion-configmap

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: newsecret

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v2beta1
kind: Policy
name: pol-clone-nosync-delete-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcred

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v2beta1
kind: Policy
name: pol-clone-sync-delete-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: Secret
name: regcred

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -10,6 +10,7 @@ spec:
- apply:
file: ns.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: zk-kafka-address

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v1
kind: Policy
name: pol-data-nosync-delete-policy-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: zk-kafka-address

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v1
kind: Policy
name: pol-data-sync-delete-policy-policy

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: test-org

View file

@ -10,14 +10,17 @@ spec:
- apply:
file: policy-pass.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-1.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-2.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-3.yaml

View file

@ -8,10 +8,12 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-name.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-namespace.yaml

View file

@ -8,14 +8,17 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-ns.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-kinds.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-selector.yaml

View file

@ -8,18 +8,22 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-name.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-apiversion.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-namespace.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-kind.yaml

View file

@ -8,20 +8,24 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-name.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-match.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-exclude.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-preconditions.yaml
- apply:
file: update-rule-generate-synchronize.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
name: cpol-validate-create-sa-permission

View file

@ -12,10 +12,12 @@ spec:
- apply:
file: policy-1-subresource.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-2.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-2-subresource.yaml

View file

@ -8,12 +8,14 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-1-no-ns-namespaced-target.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-2-ns-cluster-target.yaml
- apply:
file: policy-pass-1-ns-namespaced-target.yaml

View file

@ -10,14 +10,17 @@ spec:
- apply:
file: policy-pass.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-1.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-2.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-3.yaml

View file

@ -8,10 +8,12 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-namespace.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-name.yaml

View file

@ -8,14 +8,17 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-ns.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-kinds.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-selector.yaml

View file

@ -8,18 +8,22 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-name.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-apiversion.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-namespace.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-kind.yaml

View file

@ -8,20 +8,24 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-name.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-match.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-exclude.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: update-rule-preconditions.yaml
- apply:
file: update-rule-generate-synchronize.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -10,18 +10,22 @@ spec:
- apply:
file: policy-pass.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-0.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-1.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-2.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-fail-3.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
name: roles.iam.aws.crossplane.io

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- delete:
ref:
apiVersion: v1
kind: ConfigMap
name: dictionary-2

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-no-targets.yaml

View file

@ -8,8 +8,9 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-bad.yaml
- apply:
file: policy-good.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -10,14 +10,17 @@ spec:
- apply:
file: policy-validate.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-mutate.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-generate.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-verify-image.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-1.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-2.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-3.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-4.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-5.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,10 +8,12 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-1.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-2.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: resource.yaml

View file

@ -8,10 +8,12 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-1.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-2.yaml

View file

@ -10,10 +10,12 @@ spec:
- apply:
file: policy-validate.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-mutate.yaml
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-verify-image.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-1.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-2.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-3.yaml

View file

@ -8,6 +8,7 @@ spec:
timeouts: {}
try:
- apply:
check:
(error != null): true
expect:
- check:
($error != null): true
file: policy-4.yaml

Some files were not shown because too many files have changed in this diff Show more