chainsaw
chainsaw copied to clipboard
Declarative K8s e2e testing
### Problem Statement It's not clear how to use functions based on https://kyverno.github.io/chainsaw/latest/jp/functions/. ### Solution Description Add a few examples to the docs. ### Alternatives _No response_ ### Additional Context...
Maybe something like this: - Getting started - Configuration - Reference - ~~Examples~~ - Resources - Community
We can take inspiration from: https://squidfunk.github.io/mkdocs-material/contributing/
### chainsaw version Version v0.2.0 ### Description When using overrides with the characters '
### Problem Statement If I have a test like the following: ``` apiVersion: chainsaw.kyverno.io/v1alpha1 kind: Test metadata: name: test-basic-resource-creation-succeeds spec: steps: - name: basic-pod-creation-should-succeed try: - apply: file: ../resources-always-pass/pods.yaml -...
### Describe your question I've been exploring the Kyverno project and came across the usage of a built-in binding in the testdata/e2e/examples/k8s-server-version directory, as mentioned in the [documentation](https://kyverno.github.io/chainsaw/latest/bindings/). However, I...
Create a `lookup` operation to read one or more resources from the cluster.
### Problem Statement For example, I want to run a chainsaw test if a Kyverno policy is in Enforce mode, but if the Kyverno policy is in Audit mode, then...
### Problem Statement When checking the status of a lot of components, where only the name differs, it can be useful to be able to create a for loop. So...
### Problem Statement Chainsaw is growing more complex and capable with more resources as well as more complexity to each resource. It's becoming more difficult to remember the structure of...