Migrate off deprecated AppArmorProfile CRI API #1378
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
What would you like to be added:
The CRI API
LinuxContainerSecurityContext
fieldapparmor_profile
has been deprecated in favor of the newer structuredapparmor
field:https://github.com/kubernetes/kubernetes/blob/364ef335dbd49bfa3d66dbc606c642481d283851/staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto#L926-L934
Why is this needed:
The following test might be improved in order to cover new field as well.
cri-tools/pkg/validate/apparmor_linux.go
Lines 62 to 68 in f5e5b37
The text was updated successfully, but these errors were encountered: