mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-22 06:50:43 -04:00
misc: skip message about community license with marketplace image
This commit is contained in:
parent
1c8a7e4c22
commit
f94c6ca0d4
12 changed files with 66 additions and 28 deletions
|
@ -131,6 +131,9 @@ func buildMarketplaceImage(payload marketplaceImagePayload) (string, error) {
|
|||
case cloudprovider.AWS:
|
||||
// For AWS, we use the AMI alias, which just needs the version and infers the rest transparently.
|
||||
return fmt.Sprintf("resolve:ssm:/aws/service/marketplace/prod-77ylkenlkgufs/%s", payload.imgInfo.Version), nil
|
||||
case cloudprovider.OpenStack:
|
||||
// For OpenStack / STACKIT, we use the image reference directly.
|
||||
return getReferenceFromImageInfo(payload.provider, payload.attestationVariant.String(), payload.imgInfo, payload.filters...)
|
||||
default:
|
||||
return "", fmt.Errorf("marketplace images are not supported for csp %s", payload.provider.String())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue