Skip to content

Commit

Permalink
docs: Fix volumeMounts in SGX usage example
Browse files Browse the repository at this point in the history
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: kata-containers#5514

Signed-off-by: Chelsea Mafrica <[email protected]>
  • Loading branch information
Chelsea Mafrica committed Oct 26, 2022
1 parent a151d8e commit 219919e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/use-cases/using-Intel-SGX-and-kata.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ spec:
name: eosgx-demo-job-1
image: oeciteam/oe-helloworld:latest
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /dev
name: dev-mount
securityContext:
readOnlyRootFilesystem: true
capabilities:
Expand Down

0 comments on commit 219919e

Please sign in to comment.