-
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
Operator airgap mode support #14734
Comments
Status: added the CR fields, and will appropriately deploy all of the images based on I estimate that I would need ~ a half a day for the rest of the stuff. |
I do not think “air gap” is a right term to use on the attribute names. How about ‘overrideContainerRegistryHostname‘? |
Come to think of it, do we really need the Boolean airgapMode attribute ? If other host and repository attributes have some value they should go in effect. |
@gorkem the 20 or so containers that are used when deploying Che and creating workspaces come from different registries (docker hub, quay.io, rhcc) and different repositories. In other words for the non air gap use case we cannot just do
and we should rather
But I would rather explicitly set |
Shouldn't these fields be optional on the |
They are optional yes. |
Looking at @amisevsk's PRs for the devfile and plugin registries They use the properties For consistency, should we change the operator's air gap fields to |
seems an interesting suggestion. @l0rd wdyt ? |
We need to be consistent yes. Organisation looks better then repo. Not sure
hostname vs URL. But yeah consistency is important.
And +1 for @gorkem proposal since they are optionals
|
In the PRs I tried to choose appropriate env vars, but I'm happy to rework them if the naming is unclear. The current env vars are # Plugin registry
CHE_SIDECAR_CONTAINERS_REGISTRY_URL
CHE_SIDECAR_CONTAINERS_REGISTRY_ORGANIZATION
CHE_SIDECAR_CONTAINERS_REGISTRY_TAG
# Devfile registry
CHE_DEVFILE_IMAGES_REGISTRY_URL
CHE_DEVFILE_IMAGES_REGISTRY_ORGANIZATION
CHE_DEVFILE_IMAGES_REGISTRY_TAG In particular, |
@tomgeorge from a user point of view it's better if you remove |
Done. |
Is your enhancement related to a problem?
A user that wants to install Che behind an enterprise firewall should be able to do so configuring the Checluster CR.
Describe the solution you'd like
Add the following CR attributes that a user can configure during installation of Che:
The default should be
airGapMode: 'false'
. When it'strue
the operator should use the specified hostname and repository to replace the images of the Che components, the plugins sidecars and the devfile registry stacks.The text was updated successfully, but these errors were encountered: