mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-15 16:59:51 +00:00
add -ignore-filename-pattern option
This commit is contained in:
parent
44710f9053
commit
f78b65b025
5 changed files with 50 additions and 17 deletions
|
|
@ -169,7 +169,7 @@ func realMain() int {
|
|||
if isStdin {
|
||||
resourcesChan, errors = resource.FromStream(ctx, "stdin", os.Stdin)
|
||||
} else {
|
||||
resourcesChan, errors = resource.FromFiles(ctx, cfg.Files...)
|
||||
resourcesChan, errors = resource.FromFiles(ctx, cfg.IgnoreFilenamePatterns, cfg.Files...)
|
||||
}
|
||||
|
||||
c := cache.New()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue