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

[image-builder-bob]: cannot authenticate against external registries #6849

Closed
mrsimonemms opened this issue Nov 23, 2021 · 5 comments · Fixed by #6860
Closed

[image-builder-bob]: cannot authenticate against external registries #6849

mrsimonemms opened this issue Nov 23, 2021 · 5 comments · Fixed by #6860
Assignees
Labels
groundwork: awaiting deployment team: workspace Issue belongs to the Workspace team

Comments

@mrsimonemms
Copy link
Contributor

mrsimonemms commented Nov 23, 2021

When using an external registry, the authentication token is not properly applied. This means that the image builder authentication retries expire, returning a 502 Bad Gateway error to the dashboard logs

To recreate

containerRegistry:
  inCluster: false
  external:
    URL: --URL of registry, eg gcr.io/<project-name>--
    certificate:
      kind: secret
      name: registry-secret

Create the registry-secret using kubectl:

kubectl create secret docker-registry registry-secret ...

Once running, deploy the application to your cluster and start a workspace (one of the example projects are fine)

I have clusters ready and waiting if you want to test/debug


See #6810 for debugging - internal registry is fixed with issue not related to this issue

@kylos101
Copy link
Contributor

/team workspace

@roboquat roboquat added the team: workspace Issue belongs to the Workspace team label Nov 23, 2021
@kylos101 kylos101 removed the team: workspace Issue belongs to the Workspace team label Nov 23, 2021
@kylos101
Copy link
Contributor

/team workspace

@csweichel
Copy link
Contributor

/schedule

@roboquat
Copy link
Contributor

@csweichel: Issue scheduled in the workspace team (WIP: 0)

In response to this:

/schedule

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.

@csweichel
Copy link
Contributor

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
groundwork: awaiting deployment team: workspace Issue belongs to the Workspace team
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants