You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up a kubernetes cluster and run ko apply -f config/ to deploy it. Everything looks good. But when I check tekton-pipelines-controller's status, it showed me below error:
failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
So I create a secret for pulling image and add it to tekton-pipelines-controller and tekton-pipelines-webhook serviceAccount accordingly. Then everything is fine.
I am saying this because DEVELOPMENT.md doc is missing this guidance. It only tells us should configure authentication for pushing images:
Make sure to configure authentication for your KO_DOCKER_REPO if required.
But it doesn't tell us, we also need to configure authentication for pulling images. I think we should add this part to DEVELOPMENT.md part.
If my understanding is wrong, pls correct me. Thanks in advance!
The text was updated successfully, but these errors were encountered:
@xiujuan95 hey 👋🏼 indeed, I think this is missing, mainly because, I think we tend to use public image repository by default, and thus imagePullSecret is not required. But yeah, it would be nice to add a little something in the doc about this.
Now, I am deploying tekton-pipeline locally according to this guide: https://github.com/tektoncd/pipeline/blob/master/DEVELOPMENT.md#install-pipeline
I set up a kubernetes cluster and run
ko apply -f config/
to deploy it. Everything looks good. But when I checktekton-pipelines-controller
's status, it showed me below error:So I create a secret for pulling image and add it to
tekton-pipelines-controller
andtekton-pipelines-webhook
serviceAccount accordingly. Then everything is fine.I am saying this because
DEVELOPMENT.md
doc is missing this guidance. It only tells us should configure authentication for pushing images:But it doesn't tell us, we also need to configure authentication for pulling images. I think we should add this part to
DEVELOPMENT.md
part.If my understanding is wrong, pls correct me. Thanks in advance!
The text was updated successfully, but these errors were encountered: