diff --git a/apparmor.d/groups/virt/kubernetes-pause b/apparmor.d/groups/virt/kubernetes-pause new file mode 100644 index 00000000..7dca6f7b --- /dev/null +++ b/apparmor.d/groups/virt/kubernetes-pause @@ -0,0 +1,20 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Jeroen Rijken +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /pause +profile kubernetes-pause @{exec_path} flags=(complain,attach_disconnected) { + include + + signal (receive) set=kill, + + ptrace (readby) peer=k3s, + + @{exec_path} mr, + + include if exists +}