Support check.ignorePaths config option
Problem
We would like to exclude some directories from being checked while using the tool (fix #127)
Solution
- Add
check.ignorePathsconfiguration option that supports relative, homedir, and glob paths (didn't go withexcludePathssince it might be confusing with the existingexcludeoption)
~This is a WIP~. Let me know if you would like to see more tests or have suggestions!
I originally marked this as WIP since I wasn't too confident with this solution. It looks like you're cool with it so I'll remove the tag 👍
just following up on this @janisz @viswajithiii 👀
@dhaus67 PTAL
@jumbosushi What's the status of this?
@jumbosushi What's the status of this?
@jumbosushi any interest in finalizing this PR?
If not, I'll take this one over after some time, since I feel like this is a good configuration to have.
Feel free to finish the feature! Not sure if i'll have time to complete it
Hi @dhaus67 Did you have any update for this PR?
I rebased some conflicts in go.mod then created a new PR there. https://github.com/stackrox/kube-linter/pull/460
Closing as #460 was merged