docs: Fix volumeMounts in SGX usage example

The /dev/sgx is not mounted and the enclave is not available,
causing the demo job to report an error in the logs. Add volumeMounts to
container in order to have the device available in the container.

Fixes: #5514

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
This commit is contained in:
Chelsea Mafrica 2022-10-25 23:16:00 -07:00
parent a151d8ee50
commit 219919e9f7

View File

@ -61,6 +61,9 @@ spec:
name: eosgx-demo-job-1 name: eosgx-demo-job-1
image: oeciteam/oe-helloworld:latest image: oeciteam/oe-helloworld:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /dev
name: dev-mount
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
capabilities: capabilities: