chainsaw
chainsaw copied to clipboard
Declarative K8s e2e testing
## Explanation Add cleanup handler. ## Related issue Fixes #1341
### Problem Statement No handler exist to be invoked at the end of the test. ### Solution Description Create handler invoked at the end of the test (like finally for...
- multi cluster - non resource assertions - kubernetes version - working with CRDs - cluster wide resources - concurrency - negative testing
### Describe your question I have values in a binding like: ```json { "resources": { "some-key": "some-value" }} ``` and I want to access it like: name: ($resolved_resources.resources.some-key) in an...
### Describe your question When going through the description of the "Error" Operator I find exactly what I am currently looking for. Basically I do not only want to assert...
## Explanation This PR allows the configuration of the deletion propagation policy globally, across the `Test`, `TestStep`, and the `Delete`. By default, this value is set to the `Foreground`. In...
A tracker to collect the breaking changes in API's in the next major release. - `resource` -> `check` in https://github.com/kyverno/chainsaw/blob/b01fe35c698d50c78fed66543de12a01f63d80c5/pkg/apis/v1alpha1/file_ref_or_check.go#L11 - `namespace` -> change to a struct https://github.com/kyverno/chainsaw/blob/3f8124483e043f1c123a68595fa0c5dcfde749b0/pkg/apis/v1alpha1/test_spec.go#L31 - add...
### Problem Statement I am currently testing a kyverno ClusterPolicy against a kind cluster using chainsaw. This specific policy is used to limit a service account user's permissions, e.g. creating...
### Problem Statement Deletion propagation policy is set to orphan by default for a few types (unmanaged jobs for example). This is probably not what users expected is most if...
Make sure expressions compile at validation time.