You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ within the cluster.
13
13
-`/operator`: Contains the source code for the Kubernetes operator itself.
14
14
-`/crds`: Defines the `ConfidentialCluster` Custom Resource Definition (CRD) in Rust.
15
15
-`/register-server`: A server that provides Clevis PINs for key retrieval with random UUIDs.
16
+
-`/compute-pcrs`: A program to compute PCR reference values using the [compute-pcrs library](https://github.com/confidential-clusters/compute-pcrs) and insert them into a ConfigMap, run as a Job.
17
+
-`/rv-store`: Shared reference value definitions.
16
18
-`/manifest-gen`: A tool for generating all the necessary Kubernetes manifests (Operator Deployment, CRD, RBAC rules, etc.).
17
19
-`/scripts`: Helper scripts for managing a local `kind` development cluster.
18
20
-`/manifests`: The default output directory for generated manifests. This directory is not checked into source control.
@@ -28,28 +30,27 @@ within the cluster.
28
30
29
31
### Quick Start
30
32
31
-
Create the cluster, install [trustee operator](https://github.com/confidential-containers/trustee-operator) and deploy
32
-
the operator.
33
+
Create the cluster and deploy the operator.
33
34
34
35
Provide an address where the VM you will attest from can access the cluster.
35
-
In many cases, this will be your gateway address (`arp -a`).
36
-
For an existing VM on system libvirt, you can also find this address via `virsh net-dhcp-leases`.
36
+
When using a local kind & libvirt VM, this may be your gateway address (`default via …` in `ip route`) for user libvirt or bridge (`virbr0` in `ip route`) for system libvirt.
37
37
38
38
```bash
39
-
$ arp -a
40
-
_gateway (192.168.178.1) at 34:2c:c4:de:fc:52 [ether] on wlp0s20f3
41
-
$ ip=192.168.178.1
39
+
$ ip route
40
+
...
41
+
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
42
+
...
43
+
$ ip=192.168.122.1
42
44
``
43
45
44
46
```bash
45
47
make cluster-up
46
48
make REGISTRY=localhost:5000 image push # optional: use BUILD_TYPE=debug
47
49
make REGISTRY=localhost:5000 TRUSTEE_ADDR=$ip manifests
48
-
make install-trustee
49
50
make install
50
51
```
51
52
52
-
The KBS port will be forwarded to `8080` on your machine; the node register server to `3030`, where new Ignition configs are served at `/register`.
53
+
The KBS port will be forwarded to `8080` on your machine; the node register server to `8000`, where new Ignition configs are served at `/register`.
0 commit comments