Skip to content
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

Able to set custom camel-k-operator image name and location #97

Closed
dmvolod opened this issue Sep 19, 2018 · 3 comments
Closed

Able to set custom camel-k-operator image name and location #97

dmvolod opened this issue Sep 19, 2018 · 3 comments

Comments

@dmvolod
Copy link
Member

dmvolod commented Sep 19, 2018

In some cases, for example in disconnected mode, it's unable to download image from docker.io
It wold be nice to have an option for 'kamel install' to define image name, location and version.
@nicolaferraro , what do you think about it?

@nicolaferraro
Copy link
Member

@dmvolod when you're connected or disconnected you can always attach to the same docker daemon used by Minishift/Minikube and build a image as docker.io/apache/camel-k:0.0.2-SNAPSHOT or tag a different image with that name (this is what these two lines are doing).

The Deployment resource that instantiates the operator is set with a imagePullPolicy: IfNotPresent, meaning that it will try to contact Docker Hub only when there are no corresponding images in the local store. This means that docker hub will never be contacted if you provide a image for docker.io/apache/camel-k:0.0.2-SNAPSHOT. I think there's no need to use a different name...

@jcordes73
Copy link

What if access to docker.io is blocked and I want to use an intermediate docker repository as a proxy (f.e. Nexus)? IMO providing a "custom" location would be a good solution.

@lburgazzoli
Copy link
Contributor

as today you can override the almost all the option at build time:

make ... IMAGE_NAME=your.registry/your.org/camel-k

@dmvolod dmvolod closed this as completed Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants