Add support for globs for Names and Kinds
patrickdappollonio opened this issue · 1 comments
patrickdappollonio commented
Currently, --exclude-kind
and --include-kind
use an exact match (although case insensitive) of the Kubernetes kind
field. It would be good if moving forward, and especially I add --exclude-name
, for example, that the field should take globs.
There's a nifty library that can provide this kind of benefit: https://github.com/gobwas/glob, however it hasn't been updated in a while.
patrickdappollonio commented
Alternate libraries: https://github.com/mattn/go-zglob; https://github.com/mb0/glob. The latter seems to be closed to the Go standard library.