-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
Currently -skip allows providing a kind or version/kind
kubeconform/pkg/validator/validator.go
Lines 107 to 111 in ee7c498
| if _, ok := val.opts.SkipKinds[signature.GroupVersionKind()]; ok { | |
| return ok | |
| } | |
| _, ok := val.opts.SkipKinds[signature.Kind] | |
| return ok |
In some cases it would be handy to be able to skip all resources from the api version altogether e.g.
-skip networking.istio.io/v1alpha3
instead of skipping kinds one by one like
-skip networking.istio.io/v1alpha3/DestinationRule,networking.istio.io/v1alpha3/VirtualService
Would you accept PR introducing such functionality?
wrdls
Metadata
Metadata
Assignees
Labels
No labels