Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Add a new upload source #472

Closed
joelanford opened this issue Jul 26, 2022 · 0 comments · Fixed by #417
Closed

Add a new upload source #472

joelanford opened this issue Jul 26, 2022 · 0 comments · Fixed by #417
Assignees
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@joelanford
Copy link
Member

Getting a simple source implementation in place to support local bundle content is a major quality of life improvement from the current local source that uses a configmap to store bundle contents. However, this implementation has two major drawbacks:

  • It limits the size of a bundle to the maximum etcd value size (minus overhead), which can be as little as 1MB
  • It currently only supports plain manifest bundles because configmaps don't directly support directory hierarchies (this could be overcome by switching to a BinaryData tar archive value rather than the current key/value per file format).

To level-up our support for allowing operator authors to reference local bundles on-cluster, I propose a different mechanism: Run an RBAC-protected webservice on-cluster that:

  • Accepts PUT requests for non-unpacked bundles with source type binary (name TBD).
  • Accepts GET requests so that bundle provisioners can fetch the uploaded content.

This mechanism would solve both of the main drawbacks of the existing local source type.

@joelanford joelanford added this to the v0.8.0 milestone Jul 26, 2022
@joelanford joelanford added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jul 26, 2022
@joelanford joelanford self-assigned this Jul 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant