Merge pull request #112796 from SataQiu/clean-kubelet-20220930

kubelet: remove the unused constant AnnotationInvalidReason since sysctl annotations are deprecated and migrated to fields
This commit is contained in:
Kubernetes Prow Robot 2022-11-01 14:56:45 -07:00 committed by GitHub
commit 2452a95bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,7 @@ import (
)
const (
AnnotationInvalidReason = "InvalidSysctlAnnotation"
ForbiddenReason = "SysctlForbidden"
ForbiddenReason = "SysctlForbidden"
)
// patternAllowlist takes a list of sysctls or sysctl patterns (ending in *) and