-
Notifications
You must be signed in to change notification settings - Fork 353
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
Kaniko: Add ability to push to on-premise registries #613
Labels
area/build-operator
Related to the internal image build operator
Milestone
Comments
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 23, 2019
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 23, 2019
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 23, 2019
2 tasks
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 23, 2019
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 23, 2019
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 26, 2019
…d Github Packages
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 26, 2019
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 26, 2019
nicolaferraro
added a commit
to nicolaferraro/camel-k
that referenced
this issue
Nov 27, 2019
astefanutti
pushed a commit
that referenced
this issue
Nov 28, 2019
astefanutti
pushed a commit
that referenced
this issue
Nov 28, 2019
astefanutti
pushed a commit
that referenced
this issue
Nov 28, 2019
astefanutti
pushed a commit
that referenced
this issue
Nov 28, 2019
astefanutti
pushed a commit
that referenced
this issue
Nov 28, 2019
astefanutti
pushed a commit
that referenced
this issue
Nov 28, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried to install Kamel on my on-premise Kubernetes cluster with custom docker registry using next command:
kamel install -n kamel --registry=my.registry.com --registry-secret=regcred
Registry secret was created using Kubernetes guid: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
It's obviously lead to registry connection error, because "registry-secret" parameter requires GKE service account json key as described here: https://github.com/GoogleContainerTools/kaniko#kubernetes-secret
In the logs I can see:
I've just firstly found this project and definitely may have a wrong understanding. But I can't find possibility how I can use custom docker registry as described in the Kaniko docs here: https://github.com/GoogleContainerTools/kaniko#pushing-to-different-registries
Kaniko allows to provide custom docker config.json via Kubernetes config map with custom auths.
I will be very appreciated if someone knows how to deal with custom registries or can share any kind of workarounds how to setup them.
BTW: I've opened a PR with possible solution based on the Kaniko Doc: #614, but I'm not a Go expert and need an assistance with it, in case when PR direction is right.
The text was updated successfully, but these errors were encountered: