mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +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/apparmor
|
||||||
pkg/security/podsecuritypolicy
|
pkg/security/podsecuritypolicy
|
||||||
pkg/security/podsecuritypolicy/group
|
pkg/security/podsecuritypolicy/group
|
||||||
pkg/security/podsecuritypolicy/seccomp
|
|
||||||
pkg/security/podsecuritypolicy/selinux
|
pkg/security/podsecuritypolicy/selinux
|
||||||
pkg/security/podsecuritypolicy/user
|
pkg/security/podsecuritypolicy/user
|
||||||
pkg/security/podsecuritypolicy/util
|
pkg/security/podsecuritypolicy/util
|
||||||
|
@ -27,9 +27,9 @@ import (
|
|||||||
const (
|
const (
|
||||||
// AllowAny is the wildcard used to allow any profile.
|
// AllowAny is the wildcard used to allow any profile.
|
||||||
AllowAny = "*"
|
AllowAny = "*"
|
||||||
// The annotation key specifying the default seccomp profile.
|
// DefaultProfileAnnotationKey specifies the default seccomp profile.
|
||||||
DefaultProfileAnnotationKey = "seccomp.security.alpha.kubernetes.io/defaultProfileName"
|
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"
|
AllowedProfilesAnnotationKey = "seccomp.security.alpha.kubernetes.io/allowedProfileNames"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user