mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-18 22:04:22 +01:00
runtime: Adds annotations for SEV/kbs controls at the pod level
Note: only for online-kbs configuration Fixes #5782 Signed-off-by: Jim Cadden <jcadden@ibm.com>
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
package annotations
|
||||
|
||||
const (
|
||||
kataAnnotationsPrefix = "io.katacontainers."
|
||||
kataConfAnnotationsPrefix = kataAnnotationsPrefix + "config."
|
||||
kataAnnotHypervisorPrefix = kataConfAnnotationsPrefix + "hypervisor."
|
||||
kataAnnotContainerPrefix = kataAnnotationsPrefix + "container."
|
||||
kataAnnotationsPrefix = "io.katacontainers."
|
||||
kataConfAnnotationsPrefix = kataAnnotationsPrefix + "config."
|
||||
kataAnnotHypervisorPrefix = kataConfAnnotationsPrefix + "hypervisor."
|
||||
kataAnnotPreAttestationPrefix = kataConfAnnotationsPrefix + "pre_attestation."
|
||||
kataAnnotSevPrefix = kataConfAnnotationsPrefix + "sev."
|
||||
kataAnnotContainerPrefix = kataAnnotationsPrefix + "container."
|
||||
|
||||
//
|
||||
// OCI
|
||||
@@ -24,6 +26,21 @@ const (
|
||||
SandboxConfigPathKey = kataAnnotationsPrefix + "config_path"
|
||||
)
|
||||
|
||||
// Annotations related to Confidential Containers (CoCo)
|
||||
const (
|
||||
//
|
||||
// Assets
|
||||
//
|
||||
// GuestPreAttestation toggled pre_attestation functionality on/off
|
||||
GuestPreAttestation = kataAnnotPreAttestationPrefix + "enabled"
|
||||
|
||||
// GuestPreAttestationURI set the remote URL for online-kbs
|
||||
GuestPreAttestationURI = kataAnnotPreAttestationPrefix + "uri"
|
||||
|
||||
// SEVGuestPolicy set the AMD SEV guest policy
|
||||
SEVGuestPolicy = kataAnnotSevPrefix + "policy"
|
||||
)
|
||||
|
||||
// Annotations related to Hypervisor configuration
|
||||
const (
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user