deployments: qat: add an overlay for Apparmor annotations

Some Ubuntu systems may run with Apparmor LSM policy enformements making
the default QAT daemonset to fail with (un)bind errors.

This commit adds a sample kustomize overlay to deploy the QAT daemonset with
Apparmor uconfined policy.

Fixes: #381

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2020-05-30 09:19:05 +03:00
parent fdaecd1d98
commit c8ed2bb798
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: intel-qat-plugin
spec:
template:
metadata:
annotations:
container.apparmor.security.beta.kubernetes.io/intel-qat-plugin: unconfined

View File

@ -0,0 +1,4 @@
bases:
- ../../base
patches:
- add-apparmor-unconfined-intel-qat.yaml