Skip to content

Commit af39d05

Browse files
committed
nfd: Update NFD CR's to support SGX EPC
Fix for issue #255 Signed-off-by: vbedida79 <veenadhari.bedida@intel.com>
1 parent 42f3219 commit af39d05

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
@@ -32,14 +32,16 @@ spec:
3232
- name: "intel.sgx"
3333
labels:
3434
"intel.feature.node.kubernetes.io/sgx": "true"
35+
extendedResources:
36+
sgx.intel.com/epc: "@cpu.security.sgx.epc"
3537
matchFeatures:
3638
- feature: cpu.cpuid
3739
matchExpressions:
3840
SGX: {op: Exists}
3941
SGXLC: {op: Exists}
40-
- feature: cpu.sgx
42+
- feature: cpu.security
4143
matchExpressions:
42-
enabled: {op: IsTrue}
44+
sgx.enabled: {op: IsTrue}
4345
- feature: kernel.config
4446
matchExpressions:
45-
X86_SGX: {op: Exists}
47+
X86_SGX: {op: Exists}

0 commit comments

Comments
 (0)