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
Watch ApprovedImages and compute reference values independently of a
TEC existing. Adopt ApprovedImages from the TEC in order to include
them in uninstallation. Have PCR computation jobs owned by the
ApprovedImages. This avoids conflicting watchers on ApprovedImages
while using a simple flow.
Fixes: #216
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Copy file name to clipboardExpand all lines: docs/design/reference-values.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,16 @@ A reference value listing for Trustee could then look like this:
93
93
## Data flow
94
94
95
95

96
+
97
+
## Ownership
98
+
99
+
Unlike `reference-values`, `ApprovedImages` can live independent of a `TrustedExecutionCluster` object.
100
+
They can be created without one existing, and reference values are written by jobs (that the `ApprovedImages` also own) to the `image-pcrs` ConfigMap, which is created by the operator and is also independent of `TrustedExecutionClusters`.
101
+
102
+
However, the `ApprovedImages` are adopted by the `TrustedExecutionCluster` object, both when created with a `TrustedExecutionCluster` existing and retroactively when created before `TrustedExecutionCluster` creation.
103
+
This ensures that removal of a `TrustedExecutionCluster` acts as complete uninstallation.
104
+
Finalizers on the `ApprovedImages` ensure the PCR values are removed back out of `image-pcrs` again.
Copy file name to clipboardExpand all lines: docs/usage/os-and-node-lifecycle.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,9 @@ Machines booting this image can now register and attest.
52
52
53
53
**NB:** Updating nodes is not supported yet. Updates incur one intermediary stage of PCR values (assuming no further update on that boot) because kernel update is effective one boot _before_ shim & GRUB update.
54
54
55
+
**NB:** The TrustedExecutionCluster object adopts ApprovedImages, including those that lived before it.
56
+
This ensures that removal of a TrustedExecutionCluster acts as complete uninstallation.
0 commit comments