mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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:
parent
9aed79b585
commit
7574f95f7d
@ -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
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user