From bc42d78c30eed42d4bdaf3e0f2c045276a269ae1 Mon Sep 17 00:00:00 2001 From: Chris Butler Date: Wed, 25 Nov 2026 13:03:32 +0900 Subject: [PATCH] feat(snp): default vcekKdsUrl to reference AMD KDS URL The KBS SNP verifier's vcekKdsUrl was empty by default, so connected clusters had to opt in to online VCEK fetching even though online KDS is trustee's upstream default for the SNP verifier. Default vcekKdsUrl to the reference AMD KDS URL (https://kdsintf.amd.com) so bare-metal SNP attestation fetches VCEK certificates online out of the box. This matches the trustee upstream default base_url for KDS vcek sources. Completely offline/air-gapped clusters should set vcekKdsUrl to an empty string ("") to keep the offline-only (OfflineStore) behavior. When combined with vcekSecrets, OfflineStore is tried first with KDS as the fallback. Follow-up to #43. --- README.md | 2 +- values.yaml | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 05065e9..06acebd 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ In order to use this chart, you will need to: | kbs.secretResources[1].key | string | `"secret/data/hub/passphrase"` | | | kbs.secretResources[1].name | string | `"passphrase"` | | | kbs.snp.enabled | bool | `false` | | -| kbs.snp.vcekKdsUrl | string | `""` | | +| kbs.snp.vcekKdsUrl | string | `"https://kdsintf.amd.com"` | | | kbs.snp.vcekSecrets | list | `[]` | | | kbs.spire.enabled | bool | `false` | | | kbs.spire.adminSocketPath | string | `"/run/spire/sockets/admin.sock"` | | diff --git a/values.yaml b/values.yaml index 0498df2..73c2d15 100644 --- a/values.yaml +++ b/values.yaml @@ -76,7 +76,8 @@ kbs: snp: # Enable SNP attestation (VCEK certificate verification) # When enabled, adds snp_verifier to the KBS config with one or more - # vcek_sources, driven by vcekSecrets (offline) and/or vcekKdsUrl (online). + # vcek_sources, driven by vcekSecrets (offline) and/or vcekKdsUrl (online, + # on by default). For completely offline clusters, set vcekKdsUrl to "". enabled: false # VCEK secrets list — populated by `make snp-gen-overrides` in coco-pattern. # Each entry maps a node's hardware ID to a K8s secret containing vcek.der. @@ -88,12 +89,13 @@ kbs: # - hwid: "abc123def456..." # secretName: "snp-vcek-abc123def456" # Online AMD Key Distribution Service (KDS) base URL for fetching VCEK - # certificates on connected clusters, e.g. "https://kdsintf.amd.com". - # When set, adds a KDS vcek_source to the SNP verifier config. May be - # combined with vcekSecrets (OfflineStore is tried first, KDS is the - # fallback) or used on its own for fully online attestation. Empty by - # default, which preserves the original offline-only (OfflineStore) behavior. - vcekKdsUrl: "" + # certificates on connected clusters. Defaults to the reference AMD KDS + # URL (https://kdsintf.amd.com), matching the trustee upstream default, + # so bare-metal SNP attestation fetches VCEK certificates online out of + # the box. May be combined with vcekSecrets (OfflineStore is tried first, + # KDS is the fallback). Set to an empty string ("") when completely + # offline/air-gapped to keep the offline-only (OfflineStore) behavior. + vcekKdsUrl: "https://kdsintf.amd.com" # SPIRE Delegated Identity plugin configuration # Requires a KBS image built with the spire-plugin cargo feature