-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
err pull image from private image registry(harbor) #4603
Comments
I think this is not kind of bug. We met the same problem when using it. Hope this solution can help. |
This doc might also be helpful https://github.com/tektoncd/pipeline/blob/main/DEVELOPMENT.md#configure-container-registry |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
same issue here. this is the error i got while try to pull image by the task. ErrImagePull (rpc error: code = Unknown desc = failed to pull and unpack image "harbor.xxxxx.com/tekton-test/tekton-test:gitclone": failed to resolve reference "harbor.xxxxx.com/tekton-test/tekton-test:gitclone": pulling from host harbor.xxxxx.com failed with status code [manifests gitclone]: 401 Unauthorized) do u guys have any idea about this error? |
I had the same problem even if I followed the official documentation: https://tekton.dev/docs/pipelines/auth/#configuring-docker-authentication-for-docker In the end, I found out that in
you may refer to kubernetes documentation: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-image-pull-secret-to-service-account |
It worked for me. |
@crossRT @ashugcet 👋🏼 . As commented on the pull-request you sent, it's not a mistake, it is a different "feature" altogether. In your case, you want the node where the The documentation you linked (https://tekton.dev/docs/pipelines/auth/#configuring-docker-authentication-for-docker), is not about that, but how to give the process in the
It's probably clear enough that it creates the file in the On that note, one of the reason why those are 2 differents reasons/feature/mechanisms, is because, in kubernetes there is a clear separation between the |
@vdemeester |
Expected Behavior
pull image sucess
Actual Behavior
Failed to pull image "hub.docker.dev.": rpc error: code = Unknown desc = Error response from daemon: pull access denied for hub.docker.dev. repository does not exist or may require 'docker login'
Steps to Reproduce the Problem
Additional Info
Kubernetes version:
0.16.0
Output of
kubectl version
:Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:27:17Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
v0.18.0
err pull image from private image registry
The text was updated successfully, but these errors were encountered: