mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-25 14:40:45 -04:00
Adjust usage of GCP SEV-SNP throughout codebase
This commit is contained in:
parent
640f6c402b
commit
cb543c75f8
7 changed files with 35 additions and 3 deletions
|
@ -209,6 +209,12 @@ func gcpTerraformVars(conf *config.Config, imageRef string) *terraform.GCPCluste
|
|||
DiskType: group.StateDiskType,
|
||||
}
|
||||
}
|
||||
|
||||
ccTech := "SEV"
|
||||
if conf.GetAttestationConfig().GetVariant().Equal(variant.GCPSEVSNP{}) {
|
||||
ccTech = "SEV_SNP"
|
||||
}
|
||||
|
||||
return &terraform.GCPClusterVariables{
|
||||
Name: conf.Name,
|
||||
NodeGroups: nodeGroups,
|
||||
|
@ -219,6 +225,7 @@ func gcpTerraformVars(conf *config.Config, imageRef string) *terraform.GCPCluste
|
|||
Debug: conf.IsDebugCluster(),
|
||||
CustomEndpoint: conf.CustomEndpoint,
|
||||
InternalLoadBalancer: conf.InternalLoadBalancer,
|
||||
CCTechnology: ccTech,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue