optimize comments on exported constants (#83875)

* optimize comments on exported constants

* remove package in hack/.golint_failures are passing golint
This commit is contained in:
Hongwei Yu 2019-10-17 13:25:30 +08:00 committed by Kubernetes Prow Robot
parent 9aed79b585
commit 7574f95f7d
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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"
)