Merge pull request #26237 from duglin/UseConstant
Automatic merge from submit-queue Use `CreatedByAnnotation` constant A nit but didn't want the strings to get out of sync. Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
@@ -424,6 +424,10 @@ const (
|
||||
// SeccompContainerAnnotationKeyPrefix represents the key of a seccomp profile applied
|
||||
// to one container of a pod.
|
||||
SeccompContainerAnnotationKeyPrefix string = "container.seccomp.security.alpha.kubernetes.io/"
|
||||
|
||||
// CreatedByAnnotation represents the key used to store the spec(json)
|
||||
// used to create the resource.
|
||||
CreatedByAnnotation = "kubernetes.io/created-by"
|
||||
)
|
||||
|
||||
// GetAffinityFromPod gets the json serialized affinity data from Pod.Annotations
|
||||
|
Reference in New Issue
Block a user