config: add OpenStack in-cluster authentication settings

This commit is contained in:
Malte Poll 2023-03-17 09:34:25 +01:00 committed by Malte Poll
parent 33eddc74e1
commit 071628c6a0
4 changed files with 58 additions and 15 deletions

View file

@ -493,6 +493,9 @@ func (c *Config) validAttestVariant(_ validator.FieldLevel) bool {
return c.Provider.AWS != nil
case oid.AzureSEVSNP{}, oid.AzureTrustedLaunch{}:
return c.Provider.Azure != nil
// TODO(malt3): remove this case once we have a vTPM for OpenStack
case oid.Dummy{}:
return c.Provider.OpenStack != nil
case oid.GCPSEVES{}:
return c.Provider.GCP != nil
case oid.QEMUVTPM{}: