Skip to content

Commit 8cd9380

Browse files
authored
Update setup-binderhub.rst
Document token_url usage for custom service account
1 parent 355e55a commit 8cd9380

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/source/zero-to-binderhub/setup-binderhub.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ To configure BinderHub to use Google Artifact Registry, add the following to you
196196
registry_class: "binderhub.registry.GoogleArtifactRegistry"
197197
DockerRegistry:
198198
url: "https://<region>-docker.pkg.dev"
199+
token_url: "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/<service-account-name>/token"
199200

200201
.. note::
201202

@@ -206,6 +207,8 @@ To configure BinderHub to use Google Artifact Registry, add the following to you
206207
* ``<prefix>`` can be any string, and will be prepended to image names. We
207208
recommend something descriptive such as ``binder-dev-`` or ``binder-prod-``
208209
(ending with a `-` is useful).
210+
* ``<service-account-name>`` This is the name of the service account the
211+
node pool is configured to use.
209212
* Note that in all cases, you should remove the ``<`` and ``>`` symbols,
210213
they are simply placeholders in the code above.
211214

0 commit comments

Comments
 (0)