-
Notifications
You must be signed in to change notification settings - Fork 65
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
Extending Volume components to support more features #310
Comments
cc: @davidfestal @l0rd |
I would also like to add to this issue that, we may need to have secrets for outerloop dockerfile build(build guidance) if we want to push to private registries using build configs or importing from private git repos - https://docs.openshift.com/container-platform/4.6/builds/creating-build-inputs.html |
We currently support injecting secrets as files or environment values in Che. But secrets are not specified in the devfile but using some specific labels and annotations on secrets. We decided to go along that path because we wanted to decouple the secrets (that we considered users specific config) from the devfile (supposed to be shared across users, teams, companies). |
@amisevsk Do you have a separate issue for external volumes? |
@sleshchenko I suppose I didn't create one apart from this. I'll separate one out. |
Is your feature request related to a problem? Please describe.
Currently, Volume components in a devfile only support a size field. It would be useful to be able to specify more information about what sort of volume is needed:
Describe the solution you'd like
Introduce additional fields on volume components:
persistent
- whether persistent volume is expected to be available after workspace is stopped (default:true
)external
- defines volume as external to the current workspace (i.e. its lifecycle is separate)external.type
- type of external volume, e.g. "secret", "configmap", or "storage"external.name
- name of existing resource on clusterSomething like
Describe alternatives you've considered
Suggestions are more than welcome
The text was updated successfully, but these errors were encountered: