How to configure authentication to pull bundles from registries? #4393
-
I've been trying to get a pipelineRun to work with a pipelineRef to a bundle instead of a local pipeline definition, and I'm running into issues with an authenticated registry. Pushing to the registry is no problem, but I can't seem to get the pipeline run to work. I've tried the steps in the docs for configuring authentication for docker, but they don't seem to do anything. I still get an error about authentication being required. (I have a service account with a basic user auth secret, just like the example, and I've separately tested the credentials to make sure they work) The logs for the pipeline controller don't seem to show anything about credentials, other than the same error. I don't see any indication that it's trying to use them, but I'm not sure if that's expected. Any tips for debugging this further or how I'm supposed to configure the auth? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @abryant-hv - since it's the tekton controller that pulls the bundle from the registry, you need to add the secret to the pullImageSecrets of tekton service account. Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
-
I read a bit of the pipeline code and have found a working solution:
Image pull secrets for the controller are not required/relevant. |
Beta Was this translation helpful? Give feedback.
I read a bit of the pipeline code and have found a working solution:
Image pull secrets for the controller are not required/relevant.