-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli: support for GCP marketplace images #2792
Conversation
✅ Deploy Preview for constellation-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looked over the logic for selecting images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good to me
Can you run the e2e test with marketplace image for this branch?
|
can you link a test run? |
Co-authored-by: Thomas Tendyck <[email protected]>
terraform-provider-constellation/internal/provider/image_data_source.go
Outdated
Show resolved
Hide resolved
Coverage report
|
Context
Recently, our initial GCP marketplace image (v2.14.0) got approved, which enables us to test the use of GCP marketplace images in Constellation. In consultation of @malt3, we opted for a low-complexity, "dumb" implementation which assumes that all stable images are also uploaded to the public GCP project hosting the marketplace images (which needs to be automated in a subsequent PR), and then just replaces the GCP project name in the image reference if the use of marketplace images is enabled in the config's GCP section. This is sufficient to be billed through the marketplace on GCP.
Proposed change(s)
.provider.gcp.useMarketplaceImage
)constellation-images
project in the image reference withmpi-edgeless-systems-public
, which is the public GCP project that hosts the marketplace images.Additional info
Checklist