1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

658 untested changes

This commit is contained in:
shravan 2020-01-31 13:16:08 +05:30
parent 3343d73b76
commit 1da17a58f5

View file

@ -135,10 +135,6 @@ func validateMatchedResourceDescription(rd kyverno.ResourceDescription) (string,
return "", fmt.Errorf("match resources not specified")
}
if len(rd.Kinds) == 0 {
return "match", fmt.Errorf("kind is mandatory")
}
if err := validateResourceDescription(rd); err != nil {
return "match", err
}