Skip to content

Commit a4ee189

Browse files
wangzhen127k8s-publishing-bot
authored andcommitted
Change docker/default to runtime/default
Kubernetes-commit: e102633ae82b2a90e946c8bc6fbd99eb5dd0efb4
1 parent b39a8bd commit a4ee189

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/v1/annotation_key_constants.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ const (
4545
// to one container of a pod.
4646
SeccompContainerAnnotationKeyPrefix string = "container.seccomp.security.alpha.kubernetes.io/"
4747

48+
// SeccompProfileRuntimeDefault represents the default seccomp profile used by container runtime.
49+
SeccompProfileRuntimeDefault string = "runtime/default"
50+
51+
// DeprecatedSeccompProfileDockerDefault represents the default seccomp profile used by docker.
52+
// This is now deprecated and should be replaced by SeccompProfileRuntimeDefault.
53+
DeprecatedSeccompProfileDockerDefault string = "docker/default"
54+
4855
// PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized)
4956
// in the Annotations of a Node.
5057
PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods"

0 commit comments

Comments
 (0)