Skip to content

Releases: kyverno/chainsaw

v0.1.9-alpha.1

13 Mar 22:54
f616ebe
Compare
Choose a tag to compare
v0.1.9-alpha.1 Pre-release
Pre-release

Changelog

v0.1.8

05 Mar 11:25
7ee4368
Compare
Choose a tag to compare

💫 New features 💫

  • Support both .yaml and .yml extensions for chainsaw test files
  • Support specifying apiVersion and kind in collectors (working with resources should be considered deprecated)
  • Support all namespaces in collectors (by specifying namespace: '*')
  • Added outputs support in script and command operations
  • Added support to specify catch blocks at the configuration and test levels
  • Support waiting all in wait operation
  • Added x_k8s_server_version JMESPath function to fetch underlying cluster version
  • Added $config built-in binding mapping to the underlying cluster client rest config

🔧 Fixes 🔧

  • Fixed x_k8s_resource_exists JMESPath function not correctly processing apiVersion
  • Fixed x_k8s_exists JMESPath function not correctly processing apiVersion and kind
  • Fixed x_k8s_list JMESPath function not correctly exposing unstructured content
  • Detect clustered resources in collectors to ignore namespace
  • Fixed validation of checks in scripts
  • Added missing validation of bindings

🎸 Misc 🎸

  • Enabled cherry-pick bot

What's Changed

Full Changelog: v0.1.7...v0.1.8

v0.1.8-alpha.1

04 Mar 16:17
f4dab47
Compare
Choose a tag to compare
v0.1.8-alpha.1 Pre-release
Pre-release

Changelog

v0.1.7

28 Feb 15:48
6453598
Compare
Choose a tag to compare

💫 New features 💫

  • Added support for custom bindings (local variables) at the test, step and operation level
  • Added support for custom environment variables in script and command operations
  • Added a new wait operation to invoke kubectl wait ... (supported in try, catch and finally)
  • Added support for loading resources from a file in chainsaw assert command

🔧 Fixes 🔧

  • Fixed report path configuration not being used when saving a report
  • Fixed wrong base image used in released docker image (missing kubectl and sh)
  • Prevent double extension in the report output file
  • Fixed a potential crash related to reports
  • Fixed potentially missing operations in reports

🎸 Misc 🎸

  • Temporary KUBECONFIG files are now created in /tmp folder
  • Stopped overriding the PATH environment variable

📚 Docs 📚

  • Added chainsaw capabilities in the quick start guide

What's Changed

New Contributors

Full Changelog: v0.1.6...v0.1.7

v0.1.7-alpha.1

27 Feb 17:05
f7e3428
Compare
Choose a tag to compare
v0.1.7-alpha.1 Pre-release
Pre-release

Changelog

  • a399778 Brew formula update for chainsaw version v0.1.6 (#948)
  • 2b75829 chore(deps): Bump actions/download-artifact from 4.1.2 to 4.1.3 (#987)
  • 3a246b9 chore(deps): Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#975)
  • 3b685e7 chore(deps): Bump codecov/codecov-action from 4.0.2 to 4.1.0 (#988)
  • ed91d7b chore(deps): Bump svenstaro/upload-release-action from 2.7.0 to 2.9.0 (#952)
  • e83a066 chore: Add Tempo Operator to the adopters list. (#974)
  • d15316c chore: bump kind node image (#947)
  • a396ce4 chore: remove path override (#971)
  • 4d72109 chore: simplify kubeconfig management (#970)
  • 9306d46 chore: update drop down in templates (#950)
  • 4f15948 chore: update release notes (#977)
  • f875d69 chore: update release notes (#979)
  • 6e0768f feat: add bindings support in script and command (#969)
  • 8cbf418 feat: add env vars support in command and script (#963)
  • 274bbce feat: add support for bindings at the test, step and operation level (#960)
  • 72f267f feat: add wait operation (#927)
  • 184f2a2 feat: add wait operation (#984)
  • c32f7d6 feat: check file extension (#951)
  • 2fbe81e feat: support loading resource from file in assert command (#959)
  • f7e3428 fix: base image for ko in goreleaser config (#990)
  • 7663fe4 fix: do not allow nil collector (#985)
  • e69a603 fix: operation reports missing (#968)
  • 6168cf1 fix: reports creation and potential nil ref panic (#965)
  • d8de283 fix: test flake (#978)
  • 9b9bd40 fix: wait condition value need quotes (#981)
  • dfe69d4 fix: wait logic (#982)
  • 1fd0ae4 refactor(operations): error and assert condition (#958)
  • 098b620 refactor: get collector (#983)
  • 5a17c8c test(report): Add report path test (#956)

v0.1.6

21 Feb 14:58
7a78b70
Compare
Choose a tag to compare

💫 New features 💫

  • Added multi-cluster support
  • Added a new get collector
  • Added a new patch operation
  • Added support for delete operation in catch and finally blocks
  • Added format support (json or yaml) in get and events collectors
  • Added support for reading input from stdin in chainsaw assert command
  • Added programmatic Configuration validation
  • Added --report-path flag and config equivalent to configure the report path

🔧 Fixes 🔧

  • Fix an issue with temporary KUBECONFIG not being an absolute path
  • Fixed a concurrency issue in Kyverno-JSON
  • Fixed an issue with timeouts not correctly considered in collectors
  • Fixed --test-dir flag not parsed correctly when folders were separated by a comma
  • Preserve apiVersion and kind when showing resource diff
  • Fixed an incorrect KUTTL TestAssert conversion
  • Validate empty try blocks

📚 Docs 📚

  • Fixed incorrect delete operation in docs
  • Fixed some typos in the docs
  • Added missing links in the configuration docs
  • Fixed some incorrect examples in the docs

🎸 Misc 🎸

  • Added docker image labels
  • Bumped ko and kind tools versions

What's Changed

  • Brew formula update for chainsaw version v0.1.5 by @github-actions in #944
  • chore: update drop down in templates by @eddycharly in #943
  • fix: temporary kubeconfig needs to be absolute by @eddycharly in #946

Full Changelog: v0.1.5...v0.1.6

v0.1.5

21 Feb 10:46
ff8d408
Compare
Choose a tag to compare

💫 New features 💫

  • Added multi-cluster support
  • Added a new get collector
  • Added a new patch operation
  • Added support for delete operation in catch and finally blocks
  • Added format support (json or yaml) in get and events collectors
  • Added support for reading input from stdin in chainsaw assert command
  • Added programmatic Configuration validation
  • Added --report-path flag and config equivalent to configure the report path

🔧 Fixes 🔧

  • Fixed a concurrency issue in Kyverno-JSON
  • Fixed an issue with timeouts not correctly considered in collectors
  • Fixed --test-dir flag not parsed correctly when folders were separated by a comma
  • Preserve apiVersion and kind when showing resource diff
  • Fixed an incorrect KUTTL TestAssert conversion
  • Validate empty try blocks

📚 Docs 📚

  • Fixed incorrect delete operation in docs
  • Fixed some typos in the docs
  • Added missing links in the configuration docs
  • Fixed some incorrect examples in the docs

🎸 Misc 🎸

  • Added docker image labels
  • Bumped ko and kind tools versions

What's Changed

New Contributors

Full Changelog: v0.1.4...v0.1.5

v0.1.5-beta.1

20 Feb 20:42
b9d7cff
Compare
Choose a tag to compare
v0.1.5-beta.1 Pre-release
Pre-release

Changelog

v0.1.5-alpha.1

19 Feb 15:11
7373097
Compare
Choose a tag to compare
v0.1.5-alpha.1 Pre-release
Pre-release

Changelog

v0.1.4

14 Feb 17:30
ddceecb
Compare
Choose a tag to compare

💫 New features 💫

  • Allowed passing test folders by args (chainsaw test ./folder instead of chainsaw test --test-dir ./folder)
  • Added diff output in assert when an assertion fails
  • Added new binding $namespace containing the test namespace name
  • Added new describe collector to invoke kubectl describe ...
  • Added namespaceTemplate support in configuration and test to allow customizing the test namespace before creation
  • Added template support in configuration, test, step and operations to enable resource template processing
  • Improved KUTTL tests migration files rewrite logic, keeping the same file names
  • Added --template flag to enable/disable resource templating support from the command line

🔧 Fixes 🔧

  • Fixed scripts and collectors not working in docker container
  • Fixed an issue with List objects not loaded correctly
  • Fixed an issue when running chainsaw migrate kuttl tests twice on the same folder
  • Fixed an issue with chainsaw migrate kuttl tests potentially incorrect when a TestStep is present
  • Fixed an incorrect Expectation API docs
  • Fixed an incorrect FileOrCheck API docs

📚 Docs 📚

  • Improved API docs for types coming from Kyverno-JSON

🎸 Misc 🎸

  • Added an issue template for general question
  • Added issue templates config with blank issues and various links
  • Added makefile target to build a docker image locally with ko

What's Changed

New Contributors

Full Changelog: v0.1.3...v0.1.4