Skip to content

Commit 941f4ee

Browse files
authored
Merge pull request #1299 from mythi/PR-2023-002
assorted fixes
2 parents c1a0fb9 + 90aeca4 commit 941f4ee

File tree

5 files changed

+36
-8
lines changed

5 files changed

+36
-8
lines changed

demo/dlb-dpdk-demo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN cd dpdk-* && patch -Np1 < $(echo ../dlb/dpdk/dpdk_dlb_*.patch) && sed -i 's/
2626
RUN cd dpdk-* && ninja -C builddir install && install -D builddir/app/dpdk-test-eventdev /install_root/usr/bin/dpdk-test-eventdev
2727

2828
FROM ubuntu:20.04
29-
RUN apt-get update && apt-get install -y libnuma1
29+
RUN apt-get update && apt-get install -y libnuma1 libatomic1
3030
COPY --from=builder /install_root /
3131
COPY test.sh /usr/bin/
3232

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
PCCS_URL=https://localhost:8081/sgx/certification/v3/
2-
USE_SECURE_CERT=FALSE
1+
{
2+
// *** ATTENTION : This file is in JSON format so the keys are case sensitive. Don't change them.
3+
4+
// This sample is a typical config file for a development environment which has a local PCCS setup
5+
// QPL will get PCK certificates as well as quote verification collateral from the local PCCS service
6+
// The PCCS service uses self-signed certificates
7+
// You should choose the correct PCCS API version. "3.1" will return CRL in raw DER format
8+
// It is recommended to use "3.1" for DCAP 1.12 release and later
9+
10+
//PCCS server address
11+
"pccs_url": "https://localhost:8081/sgx/certification/v4/",
12+
13+
// To accept insecure HTTPS certificate, set this option to false
14+
"use_secure_cert": false,
15+
16+
"pccs_api_version": "3.1"
17+
}

deployments/sgx_enclave_apps/base/intelsgx-job.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ spec:
2121
securityContext:
2222
readOnlyRootFilesystem: true
2323
allowPrivilegeEscalation: false
24-
capabilities:
25-
add: ["IPC_LOCK"]
2624
resources:
2725
limits:
2826
sgx.intel.com/epc: "512Ki"
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
PCCS_URL=https://localhost:8081/sgx/certification/v3/
2-
USE_SECURE_CERT=FALSE
1+
{
2+
// *** ATTENTION : This file is in JSON format so the keys are case sensitive. Don't change them.
3+
4+
// This sample is a typical config file for a development environment which has a local PCCS setup
5+
// QPL will get PCK certificates as well as quote verification collateral from the local PCCS service
6+
// The PCCS service uses self-signed certificates
7+
// You should choose the correct PCCS API version. "3.1" will return CRL in raw DER format
8+
// It is recommended to use "3.1" for DCAP 1.12 release and later
9+
10+
//PCCS server address
11+
"pccs_url": "https://localhost:8081/sgx/certification/v4/",
12+
13+
// To accept insecure HTTPS certificate, set this option to false
14+
"use_secure_cert": false,
15+
16+
"pccs_api_version": "3.1"
17+
}

test/e2e/deviceplugins_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func setupFirstNode() []byte {
108108
utils.Kubectl("node-feature-discovery", "apply", "-k", "deployments/nfd/overlays/node-feature-rules/kustomization.yaml")
109109

110110
if err = e2epod.WaitForPodsRunningReady(c, "node-feature-discovery", 2, 0,
111-
100*time.Second, map[string]string{}); err != nil {
111+
200*time.Second, map[string]string{}); err != nil {
112112
framework.Failf("unable to wait for NFD pods to be running and ready: %v", err)
113113
}
114114

0 commit comments

Comments
 (0)