Commit fb2ca95
feat: automate firmware reference value collection with full pod lifecycle
Replace direct Vault push script with full lifecycle automation following
the established Pattern A (local file → values-secret.yaml → Vault):
- Rewrite collect-firmware-refvals.sh to manage complete pod lifecycle:
launch kata pod, install veritas, collect measurements, save locally,
cleanup pod via trap handlers
- Change output format from multi-key Vault secret to single JSON blob
saved to ~/.coco-pattern/firmware-reference-values.json
- Add --merge option to support multi-OCP-version reference values
- Add --namespace, --output, --runtime-class, --pod-image options
- Update values-secret.yaml.template to reference local JSON file
- Update Makefile targets: collect-firmware-refvals and
collect-firmware-refvals-merge
- Update gen-secrets.sh bare metal messaging
- Rewrite docs/firmware-reference-values.md for automated workflow
This aligns firmware reference value management with pcrStash and KBS
keys patterns, eliminating manual Vault interaction.
Requires trustee-chart PR #30 (single JSON blob consumption).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6d1d5de commit fb2ca95
5 files changed
Lines changed: 350 additions & 260 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments