mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Merge pull request #215 from mythi/rofs
deployments: set readOnlyRootFilesystem
This commit is contained in:
commit
31fd36c047
@ -15,6 +15,8 @@ spec:
|
||||
- name: fpga-mutator
|
||||
image: intel/intel-fpga-admissionwebhook:devel
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
args:
|
||||
- -tls-cert-file=/etc/webhook/certs/cert.pem
|
||||
- -tls-private-key-file=/etc/webhook/certs/key.pem
|
||||
|
@ -19,6 +19,8 @@ spec:
|
||||
- name: intel-fpga-initcontainer
|
||||
image: intel/intel-fpga-initcontainer:devel
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- mountPath: /opt/intel/fpga-sw
|
||||
name: intel-fpga-sw
|
||||
@ -33,6 +35,8 @@ spec:
|
||||
fieldPath: spec.nodeName
|
||||
image: intel/intel-fpga-plugin:devel
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- name: devfs
|
||||
mountPath: /dev
|
||||
|
@ -23,6 +23,8 @@ spec:
|
||||
fieldPath: spec.nodeName
|
||||
image: intel/intel-gpu-plugin:devel
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- name: devfs
|
||||
mountPath: /dev
|
||||
|
@ -9,6 +9,8 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: [ "/bin/bash", "-c", "--" ]
|
||||
args: [ "while true; do sleep 300000; done;" ]
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- mountPath: /dev/hugepages
|
||||
name: hugepage
|
||||
|
@ -16,6 +16,8 @@ spec:
|
||||
containers:
|
||||
- name: intel-qat-plugin
|
||||
image: intel/intel-qat-plugin:devel
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
env:
|
||||
- name: DPDK_DRIVER
|
||||
valueFrom:
|
||||
|
@ -16,6 +16,7 @@ spec:
|
||||
containers:
|
||||
- name: intel-qat-kernel-plugin
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
privileged: true
|
||||
image: intel/intel-qat-plugin:devel
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
Loading…
Reference in New Issue
Block a user