-
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
Currently it is not possible to differentiate che_plugin_sidecar_plugin_registry_image
from the RELATED_IMAGEs
#20089
Comments
@nickboldt would be great to get your input on this |
Theoretically we can include image tag in RELATED_IMAGE env var name like this: |
will it be possible to get rid of the base32 encoding as part of this issue, which looks like overkill?
with
also, not sure if we really need this |
Does it cause any issues besides overkill? |
no, this just looks pretty sophisticated, and there is going to be no need for this. IMO we should keep it as simple as possible |
plugin_registry_image/devfile_registry_image postfix was used, because che-operator have to filter images, and inject env variables to the corresponding image registries. |
@tolusha @AndrienkoAleksandr just to be clear I'm fine if you would like to continue doing base32 encodings, the most important thing for us atm is to have a possibility to differentiate in the CSV |
FWIW here's what we have in the digest pinned version of the CRW csv: (it's even sorted alphabetically because it avoids random nuissance commits when syncing from upstream.) Here's the unpinned version (with tags instead of digests): As you can see, it's cleaner and easier to read... just uses the image path to create the RELATED_IMAGE_* variables. |
Would this need go away if we fix #19736 and the registries can simply fetch their images from the CSV's RELATED_IMAGE_* list (or the operator's env vars) ? |
I though it was relatively easy to differentiate images by adding tag to env var name. |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your enhancement related to a problem? Please describe.
CSV contains a bunch of the
che_plugin_sidecar_plugin_registry_image
Related Images - https://github.com/operator-framework/community-operators/blob/b560ec81cd4e586e9cb05c3674426da4971ba3b3/community-operators/eclipse-che/7.32.0/eclipse-che.v7.32.0.clusterserviceversion.yaml#L1029-L1079This becomes a problem if we want to automatically pre-pull by default some of the sidecar images e.g.
java8
Currently, it is simply not possible to differentiate those, since all of them are using the same image names and different digests, and it is only possible to identify by tag names - https://quay.io/repository/eclipse/che-plugin-sidecar?tag=latest&tab=tags
Describe the solution you'd like
It should be possible to differentiate in the CSV
che_plugin_sidecar_plugin_registry_image
Describe alternatives you've considered
Not pre-pull sidecar images at all by default
Additional context
This issue is related to #19657
The text was updated successfully, but these errors were encountered: