Skip to content

Conversation

@lmilleri
Copy link
Member

New ConfigMap added for mounting sgx_default_qcnl.conf in /etc.
If you update the configmap, trustee deployment needs to be restarted.

Signed-off-by: Leonardo Milleri <[email protected]>
@lmilleri lmilleri requested a review from bpradipt June 28, 2024 09:04
KbsResourcePolicyConfigMapName string `json:"kbsResourcePolicyConfigMapName,omitempty"`

// kbsTdxConfigMapName is the name of the configmap that contains the TDX specific config
KbsTdxConfigMapName string `json:"kbsTdxConfigMapName,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we create a separate struct for TDX config? In case there are other configs that might be needed going forward

@lmilleri lmilleri force-pushed the tdx-config branch 3 times, most recently from a9ce140 to 87fa8ec Compare June 28, 2024 15:34
README.md Outdated

// KbsDeploymentType is the type of KBS deployment
// It can assume one of the following values:
// It can assume one of the fREADME.mdollowing values:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo ?

README.md Outdated

// TdxConfigSpec defines the desired state for TDX configuration
type TdxConfigSpec struct {
// kbsTdxConfigMapName is the name of the configmap that mounts the sgx_default_qcnl.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// kbsTdxConfigMapName is the name of the configmap that mounts the sgx_default_qcnl.conf
kbsTdxConfigMapName is the name of the configmap containing sgx_default_qcnl.conf file


// TdxConfigSpec defines the desired state for TDX configuration
type TdxConfigSpec struct {
// kbsTdxConfigMapName is the name of the configmap that mounts the sgx_default_qcnl.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// kbsTdxConfigMapName is the name of the configmap that mounts the sgx_default_qcnl.conf
kbsTdxConfigMapName is the name of the configmap containing sgx_default_qcnl.conf file

lmilleri added 2 commits July 2, 2024 14:31
The config file /etc/sgx_default_qcnl.conf can be overriden by
creating the correspondent config map

Signed-off-by: Leonardo Milleri <[email protected]>
These configmaps are optional
- resource-policy
- TDX specific configuration

Signed-off-by: Leonardo Milleri <[email protected]>
Signed-off-by: Leonardo Milleri <[email protected]>
Copy link
Member

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@bpradipt bpradipt merged commit 185be60 into confidential-containers:main Jul 3, 2024
lmilleri pushed a commit to lmilleri/trustee-operator that referenced this pull request Sep 2, 2024
…references/main

chore(deps): update konflux references
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants