-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support volumes
for components of type kubernetes/openshift
#15122
Comments
So there might be not very user-friendly message when volume defined in devfile matches any of the volumes defined in K8S/OS recipe (see below). So we cah either break workspace startup with more meaningful message, or just merge equal volumes to avoid messages at all. @metlos @l0rd WDYT?
mongo-db.yaml:
|
So as for me, adding volume into devfile is an easy way to add volume into all containers without editing original recipe (when it's big or inaccessible for edit), so it looks logical just to add volume into all containers which did not containing it, and simply ignoring the ones which are already do contain. |
Subtask of #14970
Is your task related to a problem? Please describe.
To be able to share storage between different components of the devfile, it would be beneficial to be able to specify
volumes
on thekubernetes
/openshift
components the same way it is possible on thedockerimage
components.Describe alternatives you've considered
There are two possible solutions how to apply volumes:
entrypoints
of k8s/openshift components, e.g. have aparentSelector
+containerName
on the volume to limit where the volume should be applied on potentially per-container basis.The text was updated successfully, but these errors were encountered: