From 219919e9f7d6b39000b9dbf93856e8268ac7865a Mon Sep 17 00:00:00 2001 From: Chelsea Mafrica Date: Tue, 25 Oct 2022 23:16:00 -0700 Subject: [PATCH] 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 --- docs/use-cases/using-Intel-SGX-and-kata.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/use-cases/using-Intel-SGX-and-kata.md b/docs/use-cases/using-Intel-SGX-and-kata.md index 9b721f1bc425..29635e6ae450 100644 --- a/docs/use-cases/using-Intel-SGX-and-kata.md +++ b/docs/use-cases/using-Intel-SGX-and-kata.md @@ -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: