mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 15:02:18 -04:00
Remove GCP non CVMs
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
3b49b1453e
commit
10e9faab10
9 changed files with 6 additions and 125 deletions
|
@ -85,7 +85,6 @@ func (c *Creator) createGCP(ctx context.Context, cl gcpclient, config *config.Co
|
|||
InstanceType: insType,
|
||||
StateDiskSizeGB: *config.StateDiskSizeGB,
|
||||
KubeEnv: gcp.KubeEnv,
|
||||
DisableCVM: *config.Provider.GCP.DisableCVM,
|
||||
}
|
||||
if err := cl.CreateInstances(ctx, createInput); err != nil {
|
||||
return state.ConstellationState{}, err
|
||||
|
|
|
@ -93,7 +93,6 @@ func (v *Validators) updateValidators() {
|
|||
case cloudprovider.GCP:
|
||||
v.validators = []atls.Validator{
|
||||
gcp.NewValidator(v.pcrs),
|
||||
gcp.NewNonCVMValidator(map[uint32][]byte{}), // TODO: Remove once we no longer use non CVMs.
|
||||
}
|
||||
case cloudprovider.Azure:
|
||||
v.validators = []atls.Validator{
|
||||
|
|
|
@ -278,7 +278,6 @@ func TestValidatorsV(t *testing.T) {
|
|||
pcrs: newTestPCRs(),
|
||||
wantVs: []atls.Validator{
|
||||
gcp.NewValidator(newTestPCRs()),
|
||||
gcp.NewNonCVMValidator(map[uint32][]byte{}), // TODO: remove when not longer needed.
|
||||
},
|
||||
},
|
||||
"azure": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue