-
Notifications
You must be signed in to change notification settings - Fork 50
manifests location for a plain+v0 bundle #653
Comments
For an OCI image, the idea was that the image should only ever contain the bundle. We didn't want to encourage people to pack a whole bunch of extraneous stuff in an image because we have to ship that image around and unpack it to extract the bundle. For a git repo, yes, The I think these are the correct choices, but at a minimum it seems like we should beef up the docs to explain things more. FWIW, I created #645 because we don't have any docs right now for the configmaps source. |
This may prevent reusing images. It is not that people would pack a whole bunch of random things just because they can. I don't see it as a big issue but I don't see why your argument is valid for an OCI image and not for a ConfigMap. You would still "ship that around" and mount it.
My point was why to call it |
Maybe the name can converge, but they do have different meanings, so converging them might actually increase confusion.
|
This is indeed confusing. What benefits do you expect from mounting multiple ConfigMaps? It seems to go in the opposite direction of immutability.
Nevertheless a directory is not a path. Does it mean that for git you would accept |
This issue has become stale because it has been open 60 days with no activity. The maintainers of this repo will remove this label during issue triage or it will be removed automatically after an update. Adding the |
still relevant |
To overcome the etcd size limit of a single configmap.
Different bundle formats have different requirements for where files need to exist relative to the bundle root. The ConfigMaps source is not specific to the plain provisioner. |
This design was inspired by the openshift build API: https://github.com/openshift/api/blob/8891815aa476232109dccf6c11b8611d209445d9/build/v1/types.go#L461-L463 |
Right now, for better or worse, there are validating webhooks in rukpak that ensure referenced config maps are immutable and cannot be deleted |
Sorry I am not following why it needs to be exposed to users. I understand that for builds it matters as the Dockerfile, batch or whatever is used for the build and provided by the user needs to access the data. |
I would like to see us have both sensible defaults for where we expect files to live inside a source, as well as allowing the user to change things if the defaults don't work for them. I imagine we'll want to have a knob to configure the path in a source to consider its root; this is the "from". We'll also want to have a knob to configure the path in the local staging area where the source's files go; this is the "to". This is what we're working toward in #703 |
If #703 is moving us in the right direction, please feel free to close this and move conversation there. If you don't think it is, let's chat! Thanks. 😄 |
According to the API
directory
to specify the location.path
to specify the location.What is the rational for the differences? It seems that the UX may improve by having the location set in a consistent way across the three options, i.e:
path
seems the more natural choiceThe text was updated successfully, but these errors were encountered: