mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Merge pull request #569 from mythi/PR-2021-010
sgx: update SGX SDK/DCAP versions
This commit is contained in:
commit
d0ab71c93a
@ -64,8 +64,7 @@ The component has the same basic dependancies as the
|
||||
[generic plugin framework dependencies](../../README.md#about).
|
||||
|
||||
The SGX device plugin requires Linux Kernel SGX drivers to be available. These drivers
|
||||
are currently available via [RFC patches on Linux Kernel Mailing List](https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-sgx.git).
|
||||
RFC *v41* was used to validate what is written in this document.
|
||||
are available in Linux 5.11.
|
||||
|
||||
The hardware platform must support SGX Flexible Launch Control.
|
||||
|
||||
|
@ -23,8 +23,8 @@ RUN apt-get update && \
|
||||
# SGX SDK is installed in /opt/intel directory.
|
||||
WORKDIR /opt/intel
|
||||
|
||||
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.12.100.3.bin
|
||||
ARG DCAP_VERSION=DCAP_1.9
|
||||
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.13.100.4.bin
|
||||
ARG DCAP_VERSION=DCAP_1.10
|
||||
|
||||
RUN echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main" >> /etc/apt/sources.list.d/intel-sgx.list \
|
||||
&& wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - \
|
||||
@ -35,7 +35,7 @@ RUN echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bio
|
||||
libsgx-quote-ex-dev
|
||||
|
||||
# Install SGX SDK
|
||||
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.12/distro/ubuntu18.04-server/$SGX_SDK_INSTALLER \
|
||||
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.13/distro/ubuntu18.04-server/$SGX_SDK_INSTALLER \
|
||||
&& chmod +x $SGX_SDK_INSTALLER \
|
||||
&& echo "yes" | ./$SGX_SDK_INSTALLER \
|
||||
&& rm $SGX_SDK_INSTALLER
|
||||
|
@ -9,4 +9,4 @@ spec:
|
||||
provisionLimit: 110
|
||||
logLevel: 4
|
||||
nodeSelector:
|
||||
feature.node.kubernetes.io/sgx: 'true'
|
||||
feature.node.kubernetes.io/custom-intel.sgx: 'true'
|
||||
|
@ -1,2 +1,2 @@
|
||||
PCCS_URL=https://localhost:8081/sgx/certification/v2/
|
||||
PCCS_URL=https://localhost:8081/sgx/certification/v3/
|
||||
USE_SECURE_CERT=FALSE
|
||||
|
@ -1,2 +1,2 @@
|
||||
PCCS_URL=https://localhost:8081/sgx/certification/v2/
|
||||
PCCS_URL=https://localhost:8081/sgx/certification/v3/
|
||||
USE_SECURE_CERT=FALSE
|
||||
|
@ -1,6 +1,6 @@
|
||||
sources:
|
||||
cpu:
|
||||
cpuid:
|
||||
attributeWhitelist:
|
||||
- "SGX"
|
||||
- "SGXLC"
|
||||
custom:
|
||||
- name: "intel.sgx"
|
||||
matchOn:
|
||||
- kConfig: ["X86_SGX"]
|
||||
cpuId: ["SGX", "SGXLC"]
|
||||
|
Loading…
Reference in New Issue
Block a user