Skip to content

Conversation

embeddro
Copy link

Added the ability to output reports to a file. For CI tools.

@jtyr
Copy link
Owner

jtyr commented Feb 16, 2023

Thanks for your PR. I had the same issue where I needed to produce JUnit report in a CI pipeline. I ended up writing another script for that which executes helm kubeconform and captures the XML output. Unfortunately the output from kubeconform is not good so I had to massage the XML data a lot to get usable reporting from it.

I might backport this functionality into the pre-commit script but it will cover only JUnit (no support for json, jtap and text output).

group_kubeconform.add_argument(
"--report",
metavar="FILE",
help="config file name (default: .kubeconform)",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants