Skip to content

Commit

Permalink
Add missing examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
quintush committed Sep 23, 2024
1 parent 078ddfa commit b7576b9
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
manifest should match snapshot:
1: |
backup_exists: {}
backup_not_exists: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
manifest should match snapshot:
1: |
ingress_exists: {}
ingress_not_exists: {}
namespace_exists: {}
namespace_not_exists: {}
namespaces: {}
pod_exists: {}
pod_not_exists: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
templates:
- templates/lookup_crd.yaml
tests:
- it: manifest should match snapshot
asserts:
- matchSnapshot: {}
- isNullOrEmpty:
path: backup_exists
- isNullOrEmpty:
path: backup_not_exists
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
templates:
- templates/lookup.yaml
tests:
- it: manifest should match snapshot
asserts:
- matchSnapshot: {}
- isNullOrEmpty:
path: pod_exists
- isNullOrEmpty:
path: ingress_exists
- isNullOrEmpty:
path: namespace_exists
- isNullOrEmpty:
path: pod_not_exists
- isNullOrEmpty:
path: ingress_not_exists
- isNullOrEmpty:
path: namespace_not_exists

0 comments on commit b7576b9

Please sign in to comment.