diff --git a/hack/.golint_failures b/hack/.golint_failures index df190380e5a..d7078aa9399 100644 --- a/hack/.golint_failures +++ b/hack/.golint_failures @@ -218,7 +218,6 @@ pkg/scheduler/apis/config/v1alpha1 pkg/security/apparmor pkg/security/podsecuritypolicy pkg/security/podsecuritypolicy/group -pkg/security/podsecuritypolicy/seccomp pkg/security/podsecuritypolicy/selinux pkg/security/podsecuritypolicy/user pkg/security/podsecuritypolicy/util diff --git a/pkg/security/podsecuritypolicy/seccomp/strategy.go b/pkg/security/podsecuritypolicy/seccomp/strategy.go index 715156e8a01..0c8d3faf9e5 100644 --- a/pkg/security/podsecuritypolicy/seccomp/strategy.go +++ b/pkg/security/podsecuritypolicy/seccomp/strategy.go @@ -27,9 +27,9 @@ import ( const ( // AllowAny is the wildcard used to allow any profile. AllowAny = "*" - // The annotation key specifying the default seccomp profile. + // DefaultProfileAnnotationKey specifies the default seccomp profile. DefaultProfileAnnotationKey = "seccomp.security.alpha.kubernetes.io/defaultProfileName" - // The annotation key specifying the allowed seccomp profiles. + // AllowedProfilesAnnotationKey specifies the allowed seccomp profiles. AllowedProfilesAnnotationKey = "seccomp.security.alpha.kubernetes.io/allowedProfileNames" )