Skip to content

Commit fe4df14

Browse files
authored
Merge pull request #252 from vbedida79/patch-070624-1
nfd: Update NFD CR's to support SGX EPC
2 parents c3ab0dd + af39d05 commit fe4df14

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

nfd/node-feature-discovery-openshift.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ metadata:
77
name: nfd-instance
88
namespace: openshift-nfd
99
spec:
10-
extraLabelNs:
11-
- sgx.intel.com
12-
resourceLabels:
13-
- sgx.intel.com/epc
1410
operand:
15-
image: quay.io/openshift/origin-node-feature-discovery:4.13
11+
image: quay.io/openshift/origin-node-feature-discovery:4.15
1612
imagePullPolicy: Always
1713
servicePort: 12000
1814
workerConfig:
19-
configData: |
15+
configData: |

nfd/node-feature-rules-openshift.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@ spec:
3333
- name: "intel.sgx"
3434
labels:
3535
"intel.feature.node.kubernetes.io/sgx": "true"
36+
extendedResources:
37+
sgx.intel.com/epc: "@cpu.security.sgx.epc"
3638
matchFeatures:
3739
- feature: cpu.cpuid
3840
matchExpressions:
3941
SGX: {op: Exists}
4042
SGXLC: {op: Exists}
41-
- feature: cpu.sgx
43+
- feature: cpu.security
4244
matchExpressions:
43-
enabled: {op: IsTrue}
45+
sgx.enabled: {op: IsTrue}
4446
- feature: kernel.config
4547
matchExpressions:
46-
X86_SGX: {op: Exists}
48+
X86_SGX: {op: Exists}

0 commit comments

Comments
 (0)