Skip to content

Commit a5f5553

Browse files
committed
depl: drop capabilities from all plugins
Signed-off-by: Tuomas Katila <[email protected]>
1 parent 8f3b7f3 commit a5f5553

File tree

7 files changed

+38
-1
lines changed

7 files changed

+38
-1
lines changed

deployments/dlb_plugin/base/intel-dlb-plugin.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ spec:
3131
securityContext:
3232
readOnlyRootFilesystem: true
3333
allowPrivilegeEscalation: false
34-
terminationMessagePath: /tmp/termination-log
34+
capabilities:
35+
drop:
36+
- ALL
37+
seccompProfile:
38+
type: RuntimeDefault
39+
terminationMessagePath: /tmp/termination-log
3540
resources:
3641
requests:
3742
memory: "15Mi"

deployments/dsa_plugin/base/intel-dsa-plugin.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ spec:
3333
type: "container_device_plugin_t"
3434
readOnlyRootFilesystem: true
3535
allowPrivilegeEscalation: false
36+
capabilities:
37+
drop:
38+
- ALL
39+
seccompProfile:
40+
type: RuntimeDefault
3641
resources:
3742
requests:
3843
memory: "25Mi"

deployments/fpga_plugin/base/intel-fpga-plugin-daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,15 @@ spec:
4242
- -mode=af
4343
terminationMessagePath: /tmp/termination-log
4444
securityContext:
45+
seLinuxOptions:
46+
type: "container_device_plugin_t"
4547
readOnlyRootFilesystem: true
4648
allowPrivilegeEscalation: false
49+
capabilities:
50+
drop:
51+
- ALL
52+
seccompProfile:
53+
type: RuntimeDefault
4754
resources:
4855
requests:
4956
memory: "30Mi"

deployments/gpu_plugin/base/intel-gpu-plugin.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ spec:
3636
type: "container_device_plugin_t"
3737
readOnlyRootFilesystem: true
3838
allowPrivilegeEscalation: false
39+
capabilities:
40+
drop:
41+
- ALL
42+
seccompProfile:
43+
type: RuntimeDefault
3944
resources:
4045
requests:
4146
memory: "45Mi"

deployments/iaa_plugin/base/intel-iaa-plugin.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ spec:
3333
type: "container_device_plugin_t"
3434
readOnlyRootFilesystem: true
3535
allowPrivilegeEscalation: false
36+
capabilities:
37+
drop:
38+
- ALL
39+
seccompProfile:
40+
type: RuntimeDefault
3641
resources:
3742
requests:
3843
memory: "25Mi"

deployments/qat_plugin/base/intel-qat-plugin.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ spec:
3636
type: "container_device_plugin_t"
3737
readOnlyRootFilesystem: true
3838
allowPrivilegeEscalation: false
39+
capabilities:
40+
drop:
41+
- ALL
42+
seccompProfile:
43+
type: RuntimeDefault
3944
imagePullPolicy: IfNotPresent
4045
resources:
4146
requests:

deployments/sgx_plugin/base/intel-sgx-plugin.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ spec:
2727
type: "container_device_plugin_t"
2828
readOnlyRootFilesystem: true
2929
allowPrivilegeEscalation: false
30+
capabilities:
31+
drop:
32+
- ALL
33+
seccompProfile:
34+
type: RuntimeDefault
3035
imagePullPolicy: IfNotPresent
3136
resources:
3237
requests:

0 commit comments

Comments
 (0)