Skip to content

Commit 64a524b

Browse files
committed
aws: Add cpuOptions to install-config.yaml
This will allow configuring confidential computing on AWS platform, only AMD SEV-SNP is supported for now. Signed-off-by: Fangge Jin <[email protected]>
1 parent bf77b3a commit 64a524b

File tree

1 file changed

+112
-0
lines changed

1 file changed

+112
-0
lines changed

data/data/install.openshift.io_installconfigs.yaml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,34 @@ spec:
171171
AMIID is the AMI that should be used to boot the ec2 instance.
172172
If set, the AMI should belong to the same region as the cluster.
173173
type: string
174+
cpuOptions:
175+
description: |-
176+
CPUOptions defines CPU-related settings for the instance, including the confidential computing policy.
177+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default.
178+
More info:
179+
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CpuOptionsRequest.html,
180+
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html
181+
minProperties: 1
182+
properties:
183+
confidentialCompute:
184+
description: |-
185+
ConfidentialCompute specifies whether confidential computing should be enabled for the instance,
186+
and, if so, which confidential computing technology to use.
187+
Valid values are: Disabled, AMDEncryptedVirtualizationNestedPaging and omitted.
188+
When set to Disabled, confidential computing will be disabled for the instance.
189+
When set to AMDEncryptedVirtualizationNestedPaging, AMD SEV-SNP will be used as the confidential computing technology for the instance.
190+
In this case, ensure the following conditions are met:
191+
1) The selected instance type supports AMD SEV-SNP.
192+
2) The selected AWS region supports AMD SEV-SNP.
193+
3) The selected AMI supports AMD SEV-SNP.
194+
More details can be checked at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
195+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default,
196+
which is subject to change without notice. The current default is Disabled.
197+
enum:
198+
- Disabled
199+
- AMDEncryptedVirtualizationNestedPaging
200+
type: string
201+
type: object
174202
iamProfile:
175203
description: |-
176204
IAMProfile is the name of the IAM instance profile to use for the machine.
@@ -1689,6 +1717,34 @@ spec:
16891717
AMIID is the AMI that should be used to boot the ec2 instance.
16901718
If set, the AMI should belong to the same region as the cluster.
16911719
type: string
1720+
cpuOptions:
1721+
description: |-
1722+
CPUOptions defines CPU-related settings for the instance, including the confidential computing policy.
1723+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default.
1724+
More info:
1725+
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CpuOptionsRequest.html,
1726+
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html
1727+
minProperties: 1
1728+
properties:
1729+
confidentialCompute:
1730+
description: |-
1731+
ConfidentialCompute specifies whether confidential computing should be enabled for the instance,
1732+
and, if so, which confidential computing technology to use.
1733+
Valid values are: Disabled, AMDEncryptedVirtualizationNestedPaging and omitted.
1734+
When set to Disabled, confidential computing will be disabled for the instance.
1735+
When set to AMDEncryptedVirtualizationNestedPaging, AMD SEV-SNP will be used as the confidential computing technology for the instance.
1736+
In this case, ensure the following conditions are met:
1737+
1) The selected instance type supports AMD SEV-SNP.
1738+
2) The selected AWS region supports AMD SEV-SNP.
1739+
3) The selected AMI supports AMD SEV-SNP.
1740+
More details can be checked at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
1741+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default,
1742+
which is subject to change without notice. The current default is Disabled.
1743+
enum:
1744+
- Disabled
1745+
- AMDEncryptedVirtualizationNestedPaging
1746+
type: string
1747+
type: object
16921748
iamProfile:
16931749
description: |-
16941750
IAMProfile is the name of the IAM instance profile to use for the machine.
@@ -3147,6 +3203,34 @@ spec:
31473203
AMIID is the AMI that should be used to boot the ec2 instance.
31483204
If set, the AMI should belong to the same region as the cluster.
31493205
type: string
3206+
cpuOptions:
3207+
description: |-
3208+
CPUOptions defines CPU-related settings for the instance, including the confidential computing policy.
3209+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default.
3210+
More info:
3211+
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CpuOptionsRequest.html,
3212+
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html
3213+
minProperties: 1
3214+
properties:
3215+
confidentialCompute:
3216+
description: |-
3217+
ConfidentialCompute specifies whether confidential computing should be enabled for the instance,
3218+
and, if so, which confidential computing technology to use.
3219+
Valid values are: Disabled, AMDEncryptedVirtualizationNestedPaging and omitted.
3220+
When set to Disabled, confidential computing will be disabled for the instance.
3221+
When set to AMDEncryptedVirtualizationNestedPaging, AMD SEV-SNP will be used as the confidential computing technology for the instance.
3222+
In this case, ensure the following conditions are met:
3223+
1) The selected instance type supports AMD SEV-SNP.
3224+
2) The selected AWS region supports AMD SEV-SNP.
3225+
3) The selected AMI supports AMD SEV-SNP.
3226+
More details can be checked at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
3227+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default,
3228+
which is subject to change without notice. The current default is Disabled.
3229+
enum:
3230+
- Disabled
3231+
- AMDEncryptedVirtualizationNestedPaging
3232+
type: string
3233+
type: object
31503234
iamProfile:
31513235
description: |-
31523236
IAMProfile is the name of the IAM instance profile to use for the machine.
@@ -4798,6 +4882,34 @@ spec:
47984882
AMIID is the AMI that should be used to boot the ec2 instance.
47994883
If set, the AMI should belong to the same region as the cluster.
48004884
type: string
4885+
cpuOptions:
4886+
description: |-
4887+
CPUOptions defines CPU-related settings for the instance, including the confidential computing policy.
4888+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default.
4889+
More info:
4890+
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CpuOptionsRequest.html,
4891+
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html
4892+
minProperties: 1
4893+
properties:
4894+
confidentialCompute:
4895+
description: |-
4896+
ConfidentialCompute specifies whether confidential computing should be enabled for the instance,
4897+
and, if so, which confidential computing technology to use.
4898+
Valid values are: Disabled, AMDEncryptedVirtualizationNestedPaging and omitted.
4899+
When set to Disabled, confidential computing will be disabled for the instance.
4900+
When set to AMDEncryptedVirtualizationNestedPaging, AMD SEV-SNP will be used as the confidential computing technology for the instance.
4901+
In this case, ensure the following conditions are met:
4902+
1) The selected instance type supports AMD SEV-SNP.
4903+
2) The selected AWS region supports AMD SEV-SNP.
4904+
3) The selected AMI supports AMD SEV-SNP.
4905+
More details can be checked at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
4906+
When omitted, this means no opinion and the AWS platform is left to choose a reasonable default,
4907+
which is subject to change without notice. The current default is Disabled.
4908+
enum:
4909+
- Disabled
4910+
- AMDEncryptedVirtualizationNestedPaging
4911+
type: string
4912+
type: object
48014913
iamProfile:
48024914
description: |-
48034915
IAMProfile is the name of the IAM instance profile to use for the machine.

0 commit comments

Comments
 (0)