Add Kubernetes pause container

This commit is contained in:
Jeroen Rijken 2022-07-23 15:28:35 +02:00 committed by Alex
parent e6525e1f04
commit e4d118365a

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Jeroen Rijken
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /pause
profile kubernetes-pause @{exec_path} flags=(complain,attach_disconnected) {
include <abstractions/base>
signal (receive) set=kill,
ptrace (readby) peer=k3s,
@{exec_path} mr,
include if exists <local/kubernetes-pause>
}