Skip to content

Commit c8ed2bb

Browse files
committed
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 <[email protected]>
1 parent fdaecd1 commit c8ed2bb

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: apps/v1
2+
kind: DaemonSet
3+
metadata:
4+
name: intel-qat-plugin
5+
spec:
6+
template:
7+
metadata:
8+
annotations:
9+
container.apparmor.security.beta.kubernetes.io/intel-qat-plugin: unconfined
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bases:
2+
- ../../base
3+
patches:
4+
- add-apparmor-unconfined-intel-qat.yaml

0 commit comments

Comments
 (0)