Skip to content
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

Add support to import OVF template from URL in supervisor builder #434

Closed
ericvmw opened this issue May 15, 2024 · 0 comments · Fixed by #433
Closed

Add support to import OVF template from URL in supervisor builder #434

ericvmw opened this issue May 15, 2024 · 0 comments · Fixed by #433
Assignees
Labels
Milestone

Comments

@ericvmw
Copy link
Contributor

ericvmw commented May 15, 2024

Description

A new feature is being added to Supervisors to expose a new custom resource ContentLibraryItemImportRequest that allows users to import OVF templates to a namespace with writable & import-allowed content library configured on a Supervisor. By support this feature on packer supervisor plugin, it will enable users to use packer to orchestrate a complete e2e workflow, from importing their source image from HTTP server, to customize and publish the image to Supervisor clusters.

Use Case(s)

As a developer, I want to import an OVF template that is hosted on a HTTP server to a namespace on a Supervisor cluster using packer vsphere supervisor builder plugin, so that I can customize the image using packer and publish the image back to the Supervisor cluster using packer.

Potential configuration

import_source_url: the remote URL to import OVF template from, must starts with https.
import_source_ssl_certificate: the SSL certificate of the remote HTTPS server.
import_target_location_name: the import target location (content library that must be writable and allow import).
import_target_item_type: optional, the target item type, it defaults to OVF type and only OVF type is supported currently.

import_request_name: The name of the ContentLibraryItemImportRequest resource, otherwise it defaults to packer-vsphere-supervisor-import-req-<random-suffix>.
watch_import_timeout_sec: The timeout in seconds to wait for the image to be imported, otherwise it defaults to 600.

Potential References

API:
https://github.com/vmware-tanzu/image-registry-operator-api/blob/main/api/v1alpha1/contentlibraryitemimportrequest_types.go

PR:
#433

@tenthirtyam tenthirtyam added the builder/vsphere-supervisor Builder: vsphere-supervisor label May 16, 2024
@tenthirtyam tenthirtyam added this to the On Deck milestone May 16, 2024
@tenthirtyam tenthirtyam changed the title vsphere-supervisor: add support to import OVF template from URL in sueprvisor builder plugin Add support to import OVF template from URL in supervisor builder Jun 18, 2024
@tenthirtyam tenthirtyam modified the milestones: On Deck, v1.3.1 Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants