Revise how meteor-jupyterhub get-base-image derives the image
Opened this issue · 6 comments
The logic to determine the base image to build a jupyterhub image is hardcoded in the pipeline:
Review the default list of base images, and mechanisms to generalize and accept other images
/wg cnbi
/kind feature
/priority important-soon
/sig devsecops
What's the target in terms of feature ? I presume the users should be able to select some version of Python, but I don't get what are the differences between the 3 python 3.8 on the other hand.
Acceptance Criteria
- UI: Read the imagestream which can be base image and present it in drop down option. (user choice)
- DevOps: Remove the hardcode list, fall back to read of imagestream or pre-populated configmap.
- If no default provided: TBD
Small regarding the implementation:
I think we should have one task getting the set of candidates images,
(imagestream/configmaps/whatever) and another choosing the base image in that
set of candidates.
Especially since there two cases:
- user select base image
- we use some logic to determine a good default
Basically, keeping the querying and the selecting decoupled.