Skip to content

Commit

Permalink
Merge pull request #430 from yuvipanda/install-fixes
Browse files Browse the repository at this point in the history
Doc fixes for installation
  • Loading branch information
choldgraf committed Jan 30, 2018
2 parents 8b072b8 + 1ecdc6a commit 2df42c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/create-cloud-resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ account that has authorization to push to Google Container Registry:
2. Make sure your project is selected
3. Click ``<top-left menu w/ three horizontal bars> -> IAM & Admin -> Service Accounts`` menu option
4. Click **Create service account**
5. Give your account a descriptive name such as "BinderHub-registry"
5. Give your account a descriptive name such as "binderhub-builder"
6. Click ``Role -> Storage -> Storage Admin`` menu option
7. Check **Furnish new private key**
8. Leave key type as default of **JSON**
Expand Down
13 changes: 3 additions & 10 deletions doc/setup-binderhub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,14 @@ Create a file called ``config.yaml`` and enter the following::
prefix: gcr.io/<google-project-id>/<prefix>
enabled: true

rbac:
enabled: false
jupyterhub:
hub:
rbac:
enabled: false


.. note::

* **``<google-project-id>``** can be found in the JSON file that you
pasted above. It is the text that is in the ``project_id`` field. This is
the project *ID*, which may be different from the project *name*.
* **``<prefix>``** can be any string, and will be prepended to image names. We
recommend something descriptive such as ``dev`` or ``prod``.
recommend something descriptive such as ``binder-dev`` or ``binder-prod``.

Install BinderHub
-----------------
Expand All @@ -112,7 +105,7 @@ First, get the latest helm chart for BinderHub.::
Next, **install the Helm Chart** using the configuration files
that you've just created. Do this by running the following command::

helm install jupyterhub/binderhub --version=v0.1.0-fbd816c --name=<choose-name> --namespace=<choose-namespace> -f secret.yaml -f config.yaml
helm install jupyterhub/binderhub --version=v0.1.0-85ac189 --name=<choose-name> --namespace=<choose-namespace> -f secret.yaml -f config.yaml

.. note::

Expand Down Expand Up @@ -145,7 +138,7 @@ JupyterHub. Now, add the following lines to ``config.yaml`` file::

Next, upgrade the helm chart to deploy this change::

helm upgrade <namespace-from-above> jupyterhub/binderhub --version=v0.1.0-fbd816c -f secret.yaml -f config.yaml
helm upgrade <name-from-above> jupyterhub/binderhub --version=v0.1.0-85ac189 -f secret.yaml -f config.yaml

Try out your BinderHub Deployment
---------------------------------
Expand Down

0 comments on commit 2df42c5

Please sign in to comment.