-
Notifications
You must be signed in to change notification settings - Fork 345
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
install: optional registry #2358
Comments
Current plan:
|
Latest implementation carries through the
This seemed logical since the registry is required for If it is correct, can you provide a use-case where the operator is useful without any build capability, please? thx. |
That is correct.
The use case it to run an Integration using a pre-built image. Obviously, this pre-built image has to comply with the Camel K runtime contract (that is not documented ;). As an easy way to write an e2e test for this, I think we could re-use any existing test, and add a subsequent test that would re-deploy the same Integration, by re-using the previously built image, and make sure both the operator installation and the Integration Pod run successfully. |
* When installing on a non-openshift cluster, allow for possibility of installing without a registry being present. * Implies that no building of components can happen but running of existing integrations and kits can * e2e tests for installation and running * Extend API to include constants for Disabled states * install.go * If --registry none is specified then setting the registry address to disabled * operator.go * If regsitry Address is disabled then seting both Publish and Build strategies to disabled (if not on openshift) * defaults.go * Avoid configuring registry is disabled * Controllers and Actions * Integration controller checks on integration kit and if latter is in state "Cannot Build" then Error * Integration kit controller executtes build action but if platform is disabled then returns early in state "Cannot Build" * "Cannot Build" differentiates from "Error" since error action can put the integration kit back to initialization phase to try and build again. This makes no sense for "Cannot Build" cannot build * Makefile * Allow the image to be overridden on the command line using an Env Var.
|
… via cli * install.go * Use of --skip-registry-setup switch will bypass all configuration in relation to the registry and leave a blank structure in the newly installed platform * Includes tests * Makefile * Makes the IMAGE_NAME and VERSION overrideable on the cli
New PR -> #2497 merged |
* install.go * Use of --skip-registry-setup switch will bypass all configuration in relation to the registry and leave a blank structure in the newly installed platform * Includes tests * Makefile * Makes the IMAGE_NAME and VERSION overrideable on the cli
It's been fixed with #2497. |
camel-k installation tries to determine a registry and may fail if it does not find one.
in some environment, camel-k is not supposed to perform any build so we should have an option to make the registry optional
The text was updated successfully, but these errors were encountered: