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
|
- name: fpga-mutator
|
||||||
image: intel/intel-fpga-admissionwebhook:devel
|
image: intel/intel-fpga-admissionwebhook:devel
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
args:
|
args:
|
||||||
- -tls-cert-file=/etc/webhook/certs/cert.pem
|
- -tls-cert-file=/etc/webhook/certs/cert.pem
|
||||||
- -tls-private-key-file=/etc/webhook/certs/key.pem
|
- -tls-private-key-file=/etc/webhook/certs/key.pem
|
||||||
|
@ -19,6 +19,8 @@ spec:
|
|||||||
- name: intel-fpga-initcontainer
|
- name: intel-fpga-initcontainer
|
||||||
image: intel/intel-fpga-initcontainer:devel
|
image: intel/intel-fpga-initcontainer:devel
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /opt/intel/fpga-sw
|
- mountPath: /opt/intel/fpga-sw
|
||||||
name: intel-fpga-sw
|
name: intel-fpga-sw
|
||||||
@ -33,6 +35,8 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-fpga-plugin:devel
|
image: intel/intel-fpga-plugin:devel
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: devfs
|
- name: devfs
|
||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
|
@ -23,6 +23,8 @@ spec:
|
|||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
image: intel/intel-gpu-plugin:devel
|
image: intel/intel-gpu-plugin:devel
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: devfs
|
- name: devfs
|
||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
|
@ -9,6 +9,8 @@ spec:
|
|||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: [ "/bin/bash", "-c", "--" ]
|
command: [ "/bin/bash", "-c", "--" ]
|
||||||
args: [ "while true; do sleep 300000; done;" ]
|
args: [ "while true; do sleep 300000; done;" ]
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /dev/hugepages
|
- mountPath: /dev/hugepages
|
||||||
name: hugepage
|
name: hugepage
|
||||||
|
@ -16,6 +16,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: intel-qat-plugin
|
- name: intel-qat-plugin
|
||||||
image: intel/intel-qat-plugin:devel
|
image: intel/intel-qat-plugin:devel
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
env:
|
env:
|
||||||
- name: DPDK_DRIVER
|
- name: DPDK_DRIVER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -16,6 +16,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: intel-qat-kernel-plugin
|
- name: intel-qat-kernel-plugin
|
||||||
securityContext:
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
privileged: true
|
privileged: true
|
||||||
image: intel/intel-qat-plugin:devel
|
image: intel/intel-qat-plugin:devel
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
Loading…
Reference in New Issue
Block a user