Repository navigation
feat(snp): default vcekKdsUrl to reference AMD KDS URL - #48
Merged
butler54 merged 1 commit intoNov 25, 2026
Merged
Conversation
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 validatedpatterns#43.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #43, which introduced
kbs.snp.vcekKdsUrlfor online AMD KDSVCEK fetching but left it empty by default, forcing connected clusters to
opt in to online attestation.
This changes the default so bare-metal SNP attestation includes the online
AMD KDS out of the box, using the reference KDS URL
https://kdsintf.amd.com— the same defaultbase_urltrustee usesupstream for KDS vcek sources
(attestation-service/docs/config.md).
The values file now documents that completely offline/air-gapped clusters
should provide an empty string for
kbs.snp.vcekKdsUrlto keep theoffline-only (OfflineStore) behavior.
Changes
values.yaml:kbs.snp.vcekKdsUrldefaults tohttps://kdsintf.amd.com;comments updated to explain the default and the
""override forcompletely offline clusters.
README.md: helm-docs values table updated to match.vcek_sourcewhenever the URL is non-empty.Behavior with
kbs.snp.enabled=true:vcek_sources[{ type = "KDS", base_url = "https://kdsintf.amd.com" }]vcekSecretsset[{ type = "OfflineStore" }, { type = "KDS", base_url = "..." }]vcekKdsUrl: ""(completely offline)[{ type = "OfflineStore" }]Validation
Rendered
templates/kbs-config-map.yamlwithhelm templateacross thethree scenarios in the table above and confirmed the resulting
vcek_sourcescontent in each case.helm lint .passes.