Adjust usage of GCP SEV-SNP throughout codebase

This commit is contained in:
Moritz Sanft 2024-04-04 16:35:36 +02:00
parent 640f6c402b
commit cb543c75f8
No known key found for this signature in database
GPG key ID: 335D28368B1DA615
7 changed files with 35 additions and 3 deletions

View file

@ -122,6 +122,7 @@ func TestGCPClusterVariables(t *testing.T) {
},
},
CustomEndpoint: "example.com",
CCTechnology: "SEV_SNP",
}
// test that the variables are correctly rendered
@ -151,6 +152,7 @@ node_groups = {
}
custom_endpoint = "example.com"
internal_load_balancer = false
cc_technology = "SEV_SNP"
`
got := vars.String()
assert.Equal(t, strings.Fields(want), strings.Fields(got)) // to ignore whitespace differences