Last active
December 8, 2025 18:36
-
-
Save larkintuckerllc/da10782fec063321b261dc6eabc19d6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: chainsaw.kyverno.io/v1alpha1 | |
| kind: Test | |
| metadata: | |
| name: namespace | |
| spec: | |
| namespace: default | |
| steps: | |
| - try: | |
| - apply: | |
| file: resources.yaml | |
| - assert: | |
| resource: | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: hello | |
| namespace: test-namespace | |
| - assert: | |
| resource: | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: hello | |
| namespace: test-namespace | |
| (length(keys(data)) == `1`): true | |
| (data.hello == 'world'): true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment