File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -453,6 +453,15 @@ message WorkloadScratchMount {
453453 string path = 1 ;
454454}
455455
456+ enum SeccompProfileType {
457+ // No seccomp filter (also the default when unset).
458+ SECCOMP_PROFILE_TYPE_UNCONFINED = 0 ;
459+ // The runtime's built-in default profile.
460+ SECCOMP_PROFILE_TYPE_RUNTIME_DEFAULT = 1 ;
461+ // A profile loaded from a file on the node (see seccomp_localhost_ref).
462+ SECCOMP_PROFILE_TYPE_LOCALHOST = 2 ;
463+ }
464+
456465message WorkloadSecuritySpec {
457466 bool strict_user_namespace = 1 ;
458467 repeated string raise_capabilities = 2 ;
@@ -463,6 +472,10 @@ message WorkloadSecuritySpec {
463472 repeated ProcessNamespace disable_namespaces = 7 ;
464473 bool read_only_rootfs = 8 ;
465474 bool no_new_privs = 9 ;
475+ SeccompProfileType seccomp_profile_type = 10 ;
476+ // Path to the localhost seccomp profile, relative to the kubelet seccomp
477+ // root; set only when seccomp_profile_type == SECCOMP_PROFILE_TYPE_LOCALHOST.
478+ string seccomp_localhost_ref = 11 ;
466479}
467480
468481enum WorkloadState {
You can’t perform that action at this time.
0 commit comments