Skip to content

Commit 47719d7

Browse files
authored
Merge pull request #1596 from mythi/PR-2023-055
sgx: use NodeFeatureRule SGX label in the NFD overlay
2 parents a89d9a5 + 2ae4eb9 commit 47719d7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

deployments/sgx_plugin/overlays/epc-nfd/kustomization.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ resources:
22
- ../../base
33
- ../../../sgx_admissionwebhook/overlays/default-with-certmanager
44

5+
patches:
6+
- path: nfd_label.yaml
7+
target:
8+
name: intel-sgx-plugin
9+
510
apiVersion: kustomize.config.k8s.io/v1beta1
611
kind: Kustomization
712
replacements:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: apps/v1
2+
kind: DaemonSet
3+
metadata:
4+
name: intel-sgx-plugin
5+
spec:
6+
template:
7+
spec:
8+
nodeSelector:
9+
intel.feature.node.kubernetes.io/sgx: "true"

0 commit comments

Comments
 (0)