rukpak icon indicating copy to clipboard operation
rukpak copied to clipboard

Override bundle contents

Open kevinrizza opened this issue 3 years ago • 3 comments

There may be some cases where a bundle, as it is defined on image, may not be compatible with a specific cluster for one reason or another (trivially, this could be as simple as wanting to update a deployment to point to a test image without rebuilding a new bundle image). There should be a way to easily override the contents of a bundle, either via the bundle api spec or some mechanism for modifying the bundle contents in cluster storage.

kevinrizza avatar Aug 30 '21 18:08 kevinrizza

Can this feature be generalized with two composable features?

  1. "Output my bundle directory/image as a kubectl-able object to stdout"
  2. "Support API that lets me provide inlined static bundle to cluster (i.e. without a container image or other off-cluster storage backend)"

To me, 2) sounds an awful lot like the nice abstraction that CatalogSource has for index images. It's either "I've got an image, manage the pod for me" or "I'm running the registry already, you can find it <here>"

joelanford avatar Oct 13 '21 03:10 joelanford

There should be a way to easily override the contents of a bundle, either via the bundle api spec or some mechanism for modifying the bundle contents in cluster storage.

I think it would be wise to avoid introducing merge concepts into the bundle api spec, since they are often confusing to users and hard to implement for developers. For example, how does one merge a list? What if I want to delete or change a list item? What about nested lists?

joelanford avatar Nov 01 '21 19:11 joelanford

Related to #158?

timflannagan avatar Jul 20 '22 15:07 timflannagan