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

Add support for Google Artifact Registry #1936

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

paololazzari
Copy link
Contributor

Fixes #1934

@paololazzari paololazzari reopened this Mar 10, 2025
@paololazzari
Copy link
Contributor Author

This pull requests allows for the GCP's Google Metadata Server to be used as a token_url:

config:
  BinderHub: 
    DockerRegistry:
      url: "https://us-central1-docker.pkg.dev"
      token_url: http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token
      username: "oauth2accesstoken"

@paololazzari
Copy link
Contributor Author

@consideRatio could you take a look please? this change is the only way I can get binderhub to work with artifact registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tornado.httpclient.HTTPClientError: HTTP 401: Unauthorized for GCP service account which works locally
1 participant