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:
parent
4c275bca05
commit
426525be37
150 changed files with 664 additions and 470 deletions
18
.github/workflows/conformance.yaml
vendored
18
.github/workflows/conformance.yaml
vendored
|
@ -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:
|
||||
|
|
|
@ -5,9 +5,9 @@ metadata:
|
|||
spec:
|
||||
timeouts:
|
||||
assert: 90s
|
||||
cleanup: 150s
|
||||
error: 90s
|
||||
parallel: 1
|
||||
fullName: true
|
||||
failFast: false
|
||||
excludeTestRegex: '_.+'
|
||||
forceTerminationGracePeriod: 5s
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: invalidpolicy.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: deploy.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: test-dpl1
|
||||
namespace: reza-dev
|
||||
ref:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: test-dpl1
|
||||
namespace: reza-dev
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
apiVersion: chainsaw.kyverno.io/v1alpha1
|
||||
kind: TestStep
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: sleep
|
||||
spec:
|
||||
timeouts: {}
|
||||
try:
|
||||
- command:
|
||||
args:
|
||||
- "4"
|
||||
entrypoint: sleep
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: configmap.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -10,6 +10,7 @@ spec:
|
|||
- apply:
|
||||
file: resource.yaml
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource-fail.yaml
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: mysecret
|
||||
namespace: clone-list-sync-same-trigger-source-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: mysecret
|
||||
namespace: clone-list-sync-same-trigger-source-trigger-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcred
|
||||
namespace: default
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcredregcred
|
||||
namespace: default
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: mysecret
|
||||
namespace: clone-sync-same-trigger-source-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: mysecret
|
||||
namespace: clone-sync-same-trigger-source-trigger-ns
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
name: cpol-clone-create-on-trigger-deletion-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
name: cpol-clone-create-on-trigger-deletion-trigger-ns
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-clone-sync-reinstall-policy
|
||||
ref:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-clone-sync-reinstall-policy
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-create-on-trigger-deletion-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-create-on-trigger-deletion-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: my-configmapmy-configmapmy-configmapmy-configmapmy-configmapmy-configmap
|
||||
namespace: trigger-resource-name-exceeds-63-characters-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: my-configmapmy-configmapmy-configmapmy-configmapmy-configmapmy-configmap
|
||||
namespace: trigger-resource-name-exceeds-63-characters-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: cpol-clone-nosync-delete-downstream-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: cpol-clone-nosync-delete-downstream-ns
|
||||
|
|
|
@ -10,6 +10,7 @@ spec:
|
|||
- assert:
|
||||
file: check.yaml
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-nosync-clone-delete-policy
|
||||
ref:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-nosync-clone-delete-policy
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-clone-nosync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-clone-nosync-delete-trigger-ns
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
name: cpol-clone-list-sync-delete-source-trigger-ns-1
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
name: cpol-clone-list-sync-delete-source-trigger-ns-1
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: cpol-clone-sync-delete-downstream-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: cpol-clone-sync-delete-downstream-ns
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-clone-sync-delete-policy
|
||||
ref:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-clone-sync-delete-policy
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: cpol-clone-sync-delete-source-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: cpol-clone-sync-delete-source-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-clone-sync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-clone-sync-delete-trigger-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: cpol-data-nosync-delete-downstream-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: cpol-data-nosync-delete-downstream-ns
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-data-nosync-delete-policy-policy
|
||||
ref:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-data-nosync-delete-policy-policy
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-data-nosync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-data-nosync-delete-trigger-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: cpol-data-sync-delete-downstream-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: cpol-data-sync-delete-downstream-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: foosource-1
|
||||
namespace: cpol-data-sync-delete-one-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: foosource-1
|
||||
namespace: cpol-data-sync-delete-one-trigger-ns
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-data-sync-delete-policy
|
||||
ref:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-data-sync-delete-policy
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-data-sync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: cpol-data-sync-delete-trigger-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: pol-clone-create-on-trigger-deletion-configmap
|
||||
namespace: pol-clone-create-on-trigger-deletion-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: pol-clone-create-on-trigger-deletion-configmap
|
||||
namespace: pol-clone-create-on-trigger-deletion-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-create-on-trigger-deletion-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-create-on-trigger-deletion-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: newsecret
|
||||
namespace: default
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: newsecret
|
||||
namespace: default
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: Policy
|
||||
name: pol-clone-nosync-delete-policy
|
||||
namespace: default
|
||||
ref:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: Policy
|
||||
name: pol-clone-nosync-delete-policy
|
||||
namespace: default
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: default
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: default
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-clone-nosync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-clone-nosync-delete-trigger-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: Policy
|
||||
name: pol-clone-sync-delete-policy
|
||||
namespace: default
|
||||
ref:
|
||||
apiVersion: kyverno.io/v2beta1
|
||||
kind: Policy
|
||||
name: pol-clone-sync-delete-policy
|
||||
namespace: default
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: pol-clone-sync-delete-source
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
name: regcred
|
||||
namespace: pol-clone-sync-delete-source
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-clone-sync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-clone-sync-delete-trigger-ns
|
||||
|
|
|
@ -10,6 +10,7 @@ spec:
|
|||
- apply:
|
||||
file: ns.yaml
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: hammer
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: hammer
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
name: pol-data-nosync-delete-policy-policy
|
||||
namespace: manta
|
||||
ref:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
name: pol-data-nosync-delete-policy-policy
|
||||
namespace: manta
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-data-nosync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-data-nosync-delete-trigger-ns
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: exeter
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: zk-kafka-address
|
||||
namespace: exeter
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
name: pol-data-sync-delete-policy-policy
|
||||
namespace: manasis
|
||||
ref:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: Policy
|
||||
name: pol-data-sync-delete-policy-policy
|
||||
namespace: manasis
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-data-sync-delete-trigger-ns
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: test-org
|
||||
namespace: pol-data-sync-delete-trigger-ns
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-validate-create-sa-permission
|
||||
ref:
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
name: cpol-validate-create-sa-permission
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
name: roles.iam.aws.crossplane.io
|
||||
ref:
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
name: roles.iam.aws.crossplane.io
|
||||
|
|
|
@ -8,7 +8,8 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- delete:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: dictionary-2
|
||||
namespace: staging-2
|
||||
ref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: dictionary-2
|
||||
namespace: staging-2
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-no-targets.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-1.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-2.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-3.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-4.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-5.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: resource.yaml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-1.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-2.yaml
|
||||
|
|
|
@ -8,6 +8,7 @@ spec:
|
|||
timeouts: {}
|
||||
try:
|
||||
- apply:
|
||||
check:
|
||||
(error != null): true
|
||||
expect:
|
||||
- check:
|
||||
($error != null): true
|
||||
file: policy-3.yaml
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue