Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ved Ratan <[email protected]>
  • Loading branch information
VedRatan committed Feb 18, 2024
1 parent 74c7213 commit b2bc212
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 21 deletions.
28 changes: 28 additions & 0 deletions tests/controllers/sib-deletion/chainsaw-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
name: sib-deletion
spec:
timeouts:
assert: 10s
steps:

- name: step-01
try:
- apply:
# file is relative to the test folder
file: ../../../examples/namespaced/dns-manipulation-si-sib.yaml
- assert:
file: ../../../examples/namespaced/dns-manipulation-si-sib.yaml
- name: step-02
try:
- script:
content: kubectl delete sib -n $NAMESPACE dns-manipulation-binding
- name: step-03
try:
- script:
content: kubectl get np -n $NAMESPACE dns-manipulation-binding
check:
($error != null): true


21 changes: 0 additions & 21 deletions tests/controllers/sib-deletion/nimbus-policy.yaml

This file was deleted.

0 comments on commit b2bc212

Please sign in to comment.