kube-linter icon indicating copy to clipboard operation
kube-linter copied to clipboard

Support check.ignorePaths config option

Open jumbosushi opened this issue 3 years ago • 4 comments

Problem

We would like to exclude some directories from being checked while using the tool (fix #127)

Solution

  • Add check.ignorePaths configuration option that supports relative, homedir, and glob paths (didn't go with excludePaths since it might be confusing with the existing exclude option)

~This is a WIP~. Let me know if you would like to see more tests or have suggestions!

jumbosushi avatar Jun 02 '22 01:06 jumbosushi

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 👍

jumbosushi avatar Jun 23 '22 01:06 jumbosushi

just following up on this @janisz @viswajithiii 👀

jumbosushi avatar Jul 07 '22 00:07 jumbosushi

@dhaus67 PTAL

janisz avatar Jul 07 '22 08:07 janisz

@jumbosushi What's the status of this?

janisz avatar Aug 29 '22 11:08 janisz

@jumbosushi What's the status of this?

janisz avatar Oct 10 '22 16:10 janisz

@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.

dhaus67 avatar Nov 16 '22 16:11 dhaus67

Feel free to finish the feature! Not sure if i'll have time to complete it

jumbosushi avatar Dec 02 '22 06:12 jumbosushi

Hi @dhaus67 Did you have any update for this PR?

titanlien avatar Dec 09 '22 11:12 titanlien

I rebased some conflicts in go.mod then created a new PR there. https://github.com/stackrox/kube-linter/pull/460

titanlien avatar Dec 09 '22 13:12 titanlien

Closing as #460 was merged

janisz avatar Jan 05 '23 08:01 janisz