Remove GCP non CVMs

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-04-29 16:27:03 +02:00 committed by Daniel Weiße
parent 3b49b1453e
commit 10e9faab10
9 changed files with 6 additions and 125 deletions

View file

@ -191,8 +191,7 @@ func Default() *Config {
"roles/storage.admin",
"roles/iam.serviceAccountUser",
},
DisableCVM: proto.Bool(false),
PCRs: pcrPtr(gcpPCRs),
PCRs: pcrPtr(gcpPCRs),
},
},
}
@ -247,7 +246,6 @@ type GCPConfig struct {
VPCsInput *gcpClient.VPCsInput `json:"vpcsinput,omitempty"`
ServiceAccountRoles *[]string `json:"serviceaccountroles,omitempty"`
PCRs *map[uint32][]byte `json:"pcrs,omitempty"`
DisableCVM *bool `json:"disableCVM"`
}
func pcrPtr(pcrs map[uint32][]byte) *map[uint32][]byte {