💫 New features 💫
- Allowed passing test folders by args (
chainsaw test ./folder
instead ofchainsaw 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 invokekubectl 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 aTestStep
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
- Brew formula update for chainsaw version v0.1.3 by @github-actions in #816
- chore: add v0.1.3 to drop down list by @eddycharly in #818
- chore: add the Norwegian Mapping Authority as a user by @evenh in #820
- fix: do not apply kuttl migration if already migrated by @eddycharly in #822
- fix: kuttl migrate test potentially incorrect when a TestStep is present by @eddycharly in #823
- chore: bump deps and improve api docs by @eddycharly in #824
- feat: allow passing test dirs by args by @eddycharly in #827
- Add Keptn to ADOPTERS.md by @RealAnna in #829
- chore(deps): Bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.1 by @dependabot in #831
- chore(deps): Bump golangci/golangci-lint-action from 3.7.0 to 3.7.1 by @dependabot in #830
- feat: add namespace binding by @shubham-cmyk in #828
- fix: incorrect expectation api docs by @eddycharly in #833
- feat: add describe collector by @eddycharly in #826
- fix: add missing validation tests and fix api docs by @eddycharly in #836
- chore: remove krew.yaml file by @eddycharly in #840
- chore: add issue template config by @eddycharly in #841
- chore: add issue template by @shubham-cmyk in #839
- feat: add flag show-events by @shubham-cmyk in #838
- fix: issue template config by @eddycharly in #842
- fix: add missing schemas by @eddycharly in #843
- chore: update release notes by @eddycharly in #846
- feat: add mutations support by @eddycharly in #832
- feat: add namespace modifiers by @eddycharly in #847
- chore: update release notes by @eddycharly in #848
- chore: update vscode config by @eddycharly in #849
- feat: implement modifier validation by @eddycharly in #850
- chore: add modifier validation tests by @eddycharly in #852
- chore: add modifiers tests by @eddycharly in #853
- feat: replace namespace modifiers with namespace template by @eddycharly in #855
- feat: add self modifier support by @eddycharly in #856
- fix: lists not loaded correctly by @eddycharly in #859
- fix: improve kuttl tests migration files rewrite logic by @eddycharly in #860
- chore: add mutation code in chainsaw directly by @eddycharly in #861
- feat: add diff in assert by @eddycharly in #862
- fix: errors in apply not sorted by @eddycharly in #863
- refactor: remove modifiers by @eddycharly in #864
- feat: add template flag by @eddycharly in #866
- feat: add delete template support by @eddycharly in #868
- ci: change ko build base Image by @shubham-cmyk in #865
- feat: add assert/error template support by @eddycharly in #869
- chore: improve makefile for ko targets by @eddycharly in #870
- chore: update release notes by @eddycharly in #871
- chore: update docs by @eddycharly in #873
- release: v0.1.4 by @eddycharly in #874
New Contributors
Full Changelog: v0.1.3...v0.1.4