From 93b7555b26d538ff8585a64d2958f99ba11c2b6c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 Dec 2023 22:02:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index e18f160..58847d3 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ The documentation should help configure the BinderHub service to: ``` This should forward requests on port 8585 on your localhost, to the binder service running inside the pod. So if you go - to [localhost:8585](http://localhost:8585), you should see a binder styled page that says 404. If you do, *success!*. + to [localhost:8585](http://localhost:8585), you should see a binder styled page that says 404. If you do, _success!_. 4. Create a docker registry for binderhub to push built images to. In this tutorial, we will be using Google Artifact Registry, but you can use anything else as well. @@ -114,24 +114,21 @@ The documentation should help configure the BinderHub service to: 10. Now that we have the appropriate permissions, let's set up our configuration! Create a new file named `binderhub-service-config.yaml` with the following contents: - ```yaml - config: - BinderHub: - use_registry: true - image_prefix: /binder - buildPodsRegistryCredentials: - server: "https://-docker.pkg.dev" - username: "_json_key" - password: | - - ``` - - where: - 1. `` is what you copied from step 7 - 2. `` is the JSON file you downloaded in step 9. This is - a multi-line file - either indent it correctly to match up (the `|` allows multiline strings), - or simply edit the contents to be a single line. Since it is JSON, it does not matter. - 3. `` is the region your artifact registry was created in. +```yaml +config: + BinderHub: + use_registry: true + image_prefix: /binder +buildPodsRegistryCredentials: + server: "https://-docker.pkg.dev" + username: "_json_key" + password: | + +``` + +where: 1. `` is what you copied from step 7 2. `` is the JSON file you downloaded in step 9. This is +a multi-line file - either indent it correctly to match up (the `|` allows multiline strings), +or simply edit the contents to be a single line. Since it is JSON, it does not matter. 3. `` is the region your artifact registry was created in. 11. Run a `helm upgrade` to use the new configuration you just created: