kubernetes/pkg/security/apparmor
Sascha Grunert 1f8c21166e
Remove AppArmor loaded profile validation
In general it could be possible that init containers deploy security
profiles. The existing AppArmor pre-validation would block the complete
workload without this patch being applied. If we now schedule a
workload which contains an unconfined init container, then we will skip
the validation. The underlying container runtime will fail if the
profile is not available after the execution of the init container.

This synchronizes the overall behavior with seccomp.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-12 10:19:44 +01:00
..
testdata
helpers.go move apparmor annotation constants to k8s.io/api/core/v1 2020-04-06 10:22:04 -04:00
validate_disabled.go
validate_test.go Remove AppArmor loaded profile validation 2021-03-12 10:19:44 +01:00
validate.go Remove AppArmor loaded profile validation 2021-03-12 10:19:44 +01:00