1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
This commit is contained in:
JenTing 2024-06-02 14:50:40 +08:00 committed by GitHub
parent 8e9baffce8
commit 3e37f80f87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ func (inner AdmissionHandler) withFilter(c config.Configuration) AdmissionHandle
}
// filter by resource filters
if c.ToFilter(request.GroupVersionKind, request.SubResource, request.Namespace, request.Name) {
return filtered(ctx, logger, request, "admission request filtered because it apears in configmap resource filters")
return filtered(ctx, logger, request, "admission request filtered because it appears in configmap resource filters")
}
// filter kyverno resources
if webhookutils.ExcludeKyvernoResources(request.Kind.Kind) {