All failing policies show no policies or output
xchapter7x opened this issue · 0 comments
xchapter7x commented
Describe the bug
If there are no policies which pass, then the output should show all failing policies, however it shows the below error.
To Reproduce
Steps to reproduce the behavior:
- Run any set of policies which all fail
- you will see output that "your given query did not yield any matches"
Expected behavior
All failing tests should be listed as failing and status should be out put to the screen.
Screenshots
-> % helm unit -t templates/ -c values.yaml -c policies/values_test.yaml -p policies -v
your given query did not yield any matches
Error: plugin "unit" exited with error
Additional context
Add any other context about the problem here.