Skip to content

Commit cfe2d65

Browse files
authored
Merge pull request #659 from 0x161e-swei/sgx-nfd-operator-dependency
Add SGX webhook operator as dependency of sgx-nfd
2 parents a845d4b + 9b66176 commit cfe2d65

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

cmd/sgx_plugin/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Contents
66
* [Installation](#installation)
77
* [Prerequisites](#prerequisites)
88
* [Backwards compatiblity note](#backwards-compatibility-note)
9-
* [Pre-built images](#pre-built-images)
9+
* [Deploying with Pre-built images](#deploying-with-pre-built-images)
1010
* [Getting the source code](#getting-the-source-code)
1111
* [Verify node kubelet config](#verify-node-kubelet-config)
1212
* [Deploying as a DaemonSet](#deploying-as-a-daemonset)
@@ -102,7 +102,7 @@ The backwards compatibility will be removed in the next release (v0.20) and
102102
from the main development branch once the SGX SDK and DCAP releases default to
103103
the new devices.
104104

105-
### Pre-built images
105+
### Deploying with Pre-built images
106106

107107
[Pre-built images](https://hub.docker.com/u/intel/)
108108
are available on Docker Hub. These images are automatically built and uploaded
@@ -157,8 +157,15 @@ $ git clone https://github.com/intel/intel-device-plugins-for-kubernetes ${INTEL
157157

158158
### Deploying as a DaemonSet
159159

160-
To deploy the plugin as a DaemonSet, you first need to build a container image for the plugin and
161-
ensure that is visible to your nodes.
160+
To deploy the plugin as a DaemonSet, you first need to deploy the cert-manager.
161+
162+
```bash
163+
$ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.3.1/cert-manager.yaml
164+
```
165+
166+
You also need to build a container image for the plugin and ensure that is
167+
visible to your nodes.
168+
162169

163170
#### Build the plugin and EPC source images
164171

@@ -259,7 +266,7 @@ For documentation to set up Intel® reference PCCS, refer to:
259266
[Intel® Software Guard Extensions (Intel® SGX) Services](https://api.portal.trustedservices.intel.com/) and
260267
[Intel® Software Guard Extensions SDK for Linux](https://01.org/intel-software-guard-extensions)
261268

262-
Furthermore, the Kubernetes cluster must be set up according the [instructions above](#pre-built-images).
269+
Furthermore, the Kubernetes cluster must be set up according the [instructions above](#deploying-with-pre-built-images).
263270

264271
##### Build the image
265272

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
bases:
22
- ../../base
33
- ../../../sgx_nfd
4+
- ../../../sgx_admissionwebhook/overlays/default-with-certmanager
45
patches:
56
- add-epc-nfd-initcontainer.yaml

0 commit comments

Comments
 (0)